org.apache.geronimo.system.main
Class CommandLine

java.lang.Object
  extended by org.apache.geronimo.system.main.CommandLine
Direct Known Subclasses:
ClientCommandLine, LocalServer

public class CommandLine
extends Object


Field Summary
protected static Log log
           
 
Constructor Summary
CommandLine()
           
 
Method Summary
protected  void doInvokeMainGBean(AbstractNameQuery mainGBeanQuery, String mainMethod, String[] args)
           
protected  Kernel getBootedKernel()
           
protected  Kernel getKernel()
           
protected  void initializeKernel()
           
 void invokeMainGBean(List configurations, AbstractNameQuery mainGBeanQuery, String mainMethod, String[] args)
           
protected  void loadBootstrapConfiguration()
           
protected  void loadConfigurations(List configurations)
           
static void main(String[] args)
          Command line entry point called by executable jar
protected  void startKernel(Artifact moduleId)
           
protected  void stopKernel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Log log
Constructor Detail

CommandLine

public CommandLine()
Method Detail

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.