org.jboss.kernel.plugins.bootstrap
Class AbstractBootstrap
java.lang.Object
org.jboss.kernel.plugins.event.AbstractEventEmitter
org.jboss.kernel.plugins.AbstractKernelObject
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap
- All Implemented Interfaces:
- Runnable, KernelEventEmitter, KernelObject
- Direct Known Subclasses:
- BasicBootstrap
public abstract class AbstractBootstrap
- extends AbstractKernelObject
- implements Runnable
Abstract Bootstrap of the kernel.
- Version:
- $Revision: 69802 $
- Author:
- Adrian Brock, Les A. Hazlewood
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
config
protected KernelConfig config
- The kernel configuration
AbstractBootstrap
public AbstractBootstrap()
- Create a new abstract bootstrap
getConfig
public KernelConfig getConfig()
- Get the kernel configuration
- Returns:
- the kernel configuration
setConfig
public void setConfig(KernelConfig config)
- Set the kernel configuration
- Parameters:
config
- the kernel configuration
getKernel
public Kernel getKernel()
- Returns the Kernel object created during the bootstrap process.
- Specified by:
getKernel
in interface KernelObject
- Overrides:
getKernel
in class AbstractKernelObject
- Returns:
- the kernel instance created during bootstrap.
run
public void run()
- Specified by:
run
in interface Runnable
bootstrap
protected void bootstrap()
throws Throwable
- Bootstrap the kernel
- Throws:
Throwable
- for any error
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.