org.jboss.kernel.plugins.bootstrap.basic
Class BasicBootstrap

java.lang.Object
  extended by org.jboss.kernel.plugins.event.AbstractEventEmitter
      extended by org.jboss.kernel.plugins.AbstractKernelObject
          extended by org.jboss.kernel.plugins.bootstrap.AbstractBootstrap
              extended by org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap
All Implemented Interfaces:
Runnable, KernelEventEmitter, KernelObject
Direct Known Subclasses:
StandaloneBootstrap

public class BasicBootstrap
extends AbstractBootstrap

Bootstrap the kernel.

Version:
$Revision: 69895 $
Author:
Adrian Brock, Les A. Hazlewood

Field Summary
 
Fields inherited from class org.jboss.kernel.plugins.bootstrap.AbstractBootstrap
config
 
Fields inherited from class org.jboss.kernel.plugins.AbstractKernelObject
kernel, log
 
Fields inherited from class org.jboss.kernel.plugins.event.AbstractEventEmitter
eventListenerRegistry, NULL, NULL_FILTER
 
Constructor Summary
BasicBootstrap()
          Constructs a new Bootstrap which constructs a Kernel based on the system properties.
BasicBootstrap(KernelConfig config)
          Constructs a new Bootstrap which constructs a Kernel based
 
Method Summary
protected  Properties getConfigProperties()
          Load bootstrap specific properties
static void main(String[] args)
          Bootstrap the kernel from the command line
 
Methods inherited from class org.jboss.kernel.plugins.bootstrap.AbstractBootstrap
bootstrap, getConfig, getKernel, run, setConfig
 
Methods inherited from class org.jboss.kernel.plugins.AbstractKernelObject
setKernel
 
Methods inherited from class org.jboss.kernel.plugins.event.AbstractEventEmitter
createEvent, fireKernelEvent, fireKernelEvent, hasListeners, nextEmitterSequence, registerListener, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.kernel.spi.event.KernelEventEmitter
fireKernelEvent, registerListener, unregisterListener
 

Constructor Detail

BasicBootstrap

public BasicBootstrap()
Constructs a new Bootstrap which constructs a Kernel based on the system properties.


BasicBootstrap

public BasicBootstrap(KernelConfig config)
               throws Exception
Constructs a new Bootstrap which constructs a Kernel based

Parameters:
config - the configure
Throws:
Exception - for any error
Method Detail

main

public static void main(String[] args)
                 throws Exception
Bootstrap the kernel from the command line

Parameters:
args - the command line arguments
Throws:
Exception - for any error

getConfigProperties

protected Properties getConfigProperties()
Load bootstrap specific properties

Returns:
the bootstrap specific properties


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.