org.apache.geronimo.system.main
Class CommandLine
java.lang.Object
org.apache.geronimo.system.main.CommandLine
- Direct Known Subclasses:
- ClientCommandLine, LocalServer
public class CommandLine
- extends Object
- Version:
- $Rev: 921198 $ $Date: 2010-03-10 08:44:54 +0800 (Wed, 10 Mar 2010) $
|
Field Summary |
protected org.slf4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.slf4j.Logger log
CommandLine
public CommandLine()
main
public static void main(String[] args)
- Command line entry point called by executable jar
- Parameters:
args - command line args
invokeMainGBean
public void invokeMainGBean(List configurations,
org.apache.geronimo.gbean.AbstractNameQuery mainGBeanQuery,
String mainMethod,
String[] args)
throws Exception
- Throws:
Exception
doInvokeMainGBean
protected void doInvokeMainGBean(org.apache.geronimo.gbean.AbstractNameQuery mainGBeanQuery,
String mainMethod,
String[] args)
throws Exception
- Throws:
Exception
initializeKernel
protected void initializeKernel()
throws Exception
- Throws:
Exception
loadBootstrapConfiguration
protected void loadBootstrapConfiguration()
throws Exception
- Throws:
Exception
getBootedKernel
protected org.apache.geronimo.kernel.Kernel getBootedKernel()
throws Exception
- Throws:
Exception
startKernel
protected void startKernel(org.apache.geronimo.kernel.repository.Artifact moduleId)
throws Exception
- Throws:
Exception
loadConfigurations
protected void loadConfigurations(List configurations)
throws org.apache.geronimo.kernel.config.NoSuchConfigException,
org.apache.geronimo.kernel.config.LifecycleException,
org.apache.geronimo.kernel.repository.MissingDependencyException,
org.apache.geronimo.kernel.GBeanNotFoundException
- Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException
org.apache.geronimo.kernel.repository.MissingDependencyException
org.apache.geronimo.kernel.GBeanNotFoundException
getKernel
protected org.apache.geronimo.kernel.Kernel getKernel()
stopKernel
protected void stopKernel()
throws org.apache.geronimo.kernel.GBeanNotFoundException,
org.apache.geronimo.kernel.InternalKernelException
- Throws:
org.apache.geronimo.kernel.GBeanNotFoundException
org.apache.geronimo.kernel.InternalKernelException
Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.