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

Version:
$Rev: 921198 $ $Date: 2010-03-10 08:44:54 +0800 (Wed, 10 Mar 2010) $

Field Summary
protected  org.slf4j.Logger log
           
 
Constructor Summary
CommandLine()
           
 
Method Summary
protected  void doInvokeMainGBean(org.apache.geronimo.gbean.AbstractNameQuery mainGBeanQuery, String mainMethod, String[] args)
           
protected  org.apache.geronimo.kernel.Kernel getBootedKernel()
           
protected  org.apache.geronimo.kernel.Kernel getKernel()
           
protected  void initializeKernel()
           
 void invokeMainGBean(List configurations, org.apache.geronimo.gbean.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(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 final org.slf4j.Logger 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

doInvokeMainGBean

protected void doInvokeMainGBean(org.apache.geronimo.gbean.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 org.apache.geronimo.kernel.Kernel getBootedKernel()
                                                     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,
                                  org.apache.geronimo.kernel.GBeanNotFoundException
Throws:
org.apache.geronimo.kernel.config.NoSuchConfigException
org.apache.geronimo.kernel.config.LifecycleException
org.apache.geronimo.kernel.repository.MissingDependencyException
org.apache.geronimo.kernel.GBeanNotFoundException

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-2013 The Apache Geronimo development community. All Rights Reserved.