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  org.apache.geronimo.kernel.Kernel getKernel()
           
 void invokeMainGBean(List configurations, org.apache.geronimo.gbean.AbstractNameQuery mainGBeanQuery, String mainMethod, String[] args)
           
protected  void loadConfigurations(List configurations)
           
static void main(String[] args)
          Command line entry point called by executable jar
protected  void startKernel()
           
protected  void startKernel(org.apache.geronimo.kernel.repository.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,
                            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.