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
Field Summary |
protected static Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Log 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,
AbstractNameQuery mainGBeanQuery,
String mainMethod,
String[] args)
throws Exception
- Throws:
Exception
doInvokeMainGBean
protected void doInvokeMainGBean(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 Kernel getBootedKernel()
throws Exception
- Throws:
Exception
startKernel
protected void startKernel(Artifact moduleId)
throws Exception
- Throws:
Exception
loadConfigurations
protected void loadConfigurations(List configurations)
throws NoSuchConfigException,
LifecycleException,
MissingDependencyException
- Throws:
NoSuchConfigException
LifecycleException
MissingDependencyException
getKernel
protected Kernel getKernel()
stopKernel
protected void stopKernel()
throws GBeanNotFoundException,
InternalKernelException
- Throws:
GBeanNotFoundException
InternalKernelException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.