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 java.lang.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(AbstractNameQuery mainGBeanQuery, java.lang.String mainMethod, java.lang.String[] args)
           
protected  Kernel getBootedKernel()
           
protected  Kernel getKernel()
           
protected  void initializeKernel()
           
 void invokeMainGBean(java.util.List configurations, AbstractNameQuery mainGBeanQuery, java.lang.String mainMethod, java.lang.String[] args)
           
protected  void loadBootstrapConfiguration()
           
protected  void loadConfigurations(java.util.List configurations)
           
static void main(java.lang.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 final org.slf4j.Logger log
Constructor Detail

CommandLine

public CommandLine()
Method Detail

main

public static void main(java.lang.String[] args)
Command line entry point called by executable jar

Parameters:
args - command line args

invokeMainGBean

public void invokeMainGBean(java.util.List configurations,
                            AbstractNameQuery mainGBeanQuery,
                            java.lang.String mainMethod,
                            java.lang.String[] args)
                     throws java.lang.Exception
Throws:
java.lang.Exception

doInvokeMainGBean

protected void doInvokeMainGBean(AbstractNameQuery mainGBeanQuery,
                                 java.lang.String mainMethod,
                                 java.lang.String[] args)
                          throws java.lang.Exception
Throws:
java.lang.Exception

initializeKernel

protected void initializeKernel()
                         throws java.lang.Exception
Throws:
java.lang.Exception

loadBootstrapConfiguration

protected void loadBootstrapConfiguration()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getBootedKernel

protected Kernel getBootedKernel()
                          throws java.lang.Exception
Throws:
java.lang.Exception

startKernel

protected void startKernel(Artifact moduleId)
                    throws java.lang.Exception
Throws:
java.lang.Exception

loadConfigurations

protected void loadConfigurations(java.util.List configurations)
                           throws NoSuchConfigException,
                                  LifecycleException,
                                  MissingDependencyException,
                                  GBeanNotFoundException
Throws:
NoSuchConfigException
LifecycleException
MissingDependencyException
GBeanNotFoundException

getKernel

protected Kernel getKernel()

stopKernel

protected void stopKernel()
                   throws GBeanNotFoundException,
                          InternalKernelException
Throws:
GBeanNotFoundException
InternalKernelException


Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.