org.jboss.kernel.plugins.bootstrap.basic
Class BasicBootstrap
java.lang.Object
org.jboss.kernel.plugins.event.AbstractEventEmitter
org.jboss.kernel.plugins.AbstractKernelObject
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap
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
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.