org.apache.geronimo.system.main
Class CommandLine

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

public class CommandLine
extends Object

Version:
$Rev: 407433 $ $Date: 2006-05-18 04:10:58 +0200 (Thu, 18 May 2006) $

Field Summary
protected static org.apache.commons.logging.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 org.apache.commons.logging.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 © 2003-2007 Apache Software Foundation. All Rights Reserved.