org.jboss.bootstrap.microcontainer
Class ServerImpl
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.jboss.bootstrap.AbstractServerImpl
org.jboss.bootstrap.microcontainer.ServerImpl
- All Implemented Interfaces:
- NotificationBroadcaster, NotificationEmitter, MCServer, Server, ServerProcess
public class ServerImpl
- extends AbstractServerImpl
- implements MCServer
A Server implementation that bootstraps an MC kernel based on the beans
deployments referenced by a bootstrap.xml descriptor.
- Version:
- $Revision: 84690 $
- Author:
- Adrian Brock, Ales Justin, Scott.Stark@jboss.org
Method Summary |
protected void |
doShutdown()
Override to perform the shutdown |
protected void |
doStart(org.jboss.util.StopWatch watch)
Override to perform the start operations |
Map<String,org.jboss.kernel.spi.deployment.KernelDeployment> |
getDeployments()
Get the kernel deployments |
org.jboss.kernel.Kernel |
getKernel()
Get the kernel |
Methods inherited from class org.jboss.bootstrap.AbstractServerImpl |
addBootstrap, exit, exit, getBuildDate, getBuildID, getBuildJVM, getBuildNumber, getBuildOS, getConfig, getMetaData, getStartDate, getVersion, getVersionName, getVersionNumber, halt, halt, init, init, isInShutdown, isStarted, removeBootstrap, runFinalization, runGarbageCollector, setMetaData, shutdown, shutdownServer, start, traceInstructions, traceMethodCalls |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.bootstrap.spi.Server |
getBuildDate, getBuildID, getBuildJVM, getBuildNumber, getBuildOS, getConfig, getMetaData, getStartDate, getVersion, getVersionName, getVersionNumber, init, init, isInShutdown, isStarted, shutdown, start |
BOOTSTRAP_XML_NAME
public static String BOOTSTRAP_XML_NAME
- The bootstrap file
ServerImpl
public ServerImpl()
getKernel
public org.jboss.kernel.Kernel getKernel()
- Get the kernel
- Specified by:
getKernel
in interface MCServer
- Returns:
- the kernel
getDeployments
public Map<String,org.jboss.kernel.spi.deployment.KernelDeployment> getDeployments()
- Get the kernel deployments
- Specified by:
getDeployments
in interface MCServer
- Returns:
- the kernel deployments
doStart
protected void doStart(org.jboss.util.StopWatch watch)
throws Throwable
- Description copied from class:
AbstractServerImpl
- Override to perform the start operations
- Specified by:
doStart
in class AbstractServerImpl
- Parameters:
watch
- the stop watch
- Throws:
Throwable
- for any error
doShutdown
protected void doShutdown()
- Description copied from class:
AbstractServerImpl
- Override to perform the shutdown
- Specified by:
doShutdown
in class AbstractServerImpl
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.