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,
org.apache.geronimo.gbean.AbstractNameQuery mainGBeanQuery,
String mainMethod,
String[] args)
throws Exception
- Throws:
Exception
startKernel
protected void startKernel()
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
- Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException
org.apache.geronimo.kernel.repository.MissingDependencyException
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 © 2006 Apache Software Foundation. All Rights Reserved.