org.jboss.bootstrap.impl.mc.server
Class MCServerImpl

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.jboss.bootstrap.impl.base.server.AbstractServer<K,T>
          extended by org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase<org.jboss.bootstrap.spi.mc.server.MCServer,org.jboss.bootstrap.spi.mc.config.MCServerConfig>
              extended by org.jboss.bootstrap.impl.mc.server.MCServerImpl
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter, org.jboss.bootstrap.spi.mc.server.MCBasedServer<org.jboss.bootstrap.spi.mc.server.MCServer,org.jboss.bootstrap.spi.mc.config.MCServerConfig>, org.jboss.bootstrap.spi.mc.server.MCServer, org.jboss.bootstrap.spi.server.Server<org.jboss.bootstrap.spi.mc.server.MCServer,org.jboss.bootstrap.spi.mc.config.MCServerConfig>

public class MCServerImpl
extends AbstractMCServerBase<org.jboss.bootstrap.spi.mc.server.MCServer,org.jboss.bootstrap.spi.mc.config.MCServerConfig>
implements org.jboss.bootstrap.spi.mc.server.MCServer

MCServerImpl Concrete implementation of a basic Microcontainer-baked Server

Version:
$Revision: $
Author:
ALR

Field Summary
 
Fields inherited from interface org.jboss.bootstrap.spi.server.Server
START_NOTIFICATION_TYPE, STOP_NOTIFICATION_TYPE
 
Constructor Summary
MCServerImpl()
          Constructor Creates the server with no initial configuration
MCServerImpl(org.jboss.bootstrap.spi.mc.config.MCServerConfig config)
          Creates the server with the specified initial configuration, defaulting the config initializer, server initializer, and config validator if not already set
MCServerImpl(org.jboss.bootstrap.spi.mc.config.MCServerConfig config, boolean defaultInit)
          Creates the server with the specified initial configuration, optionally defaulting the config initializer, server initializer, and config validator if not already set
 
Method Summary
protected  Class<? extends org.jboss.bootstrap.spi.mc.config.MCServerConfig> getDefaultServerConfigClass()
           
 
Methods inherited from class org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase
doInitialize, doShutdown, doStart, getBootstrap, getConfiguration, getDeployments, getKernel, start
 
Methods inherited from class org.jboss.bootstrap.impl.base.server.AbstractServer
addBootstrap, covarientReturn, getActualClass, getConfigInitializer, getServerInitializer, getState, getValidator, initialize, registerEventHandler, registerEventHandler, registerEventHandler, registerEventHandlers, removeBootstrap, sendNotificationWithCurrentTimeUserData, sendStartJmxNotification, sendStopJmxNotification, setConfigInitializer, setConfiguration, setServerInitializer, setValidator, shutdown, shutdownBootstraps, startBootstraps, unregisterEventHandler
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
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.mc.server.MCBasedServer
getDeployments, getKernel
 
Methods inherited from interface org.jboss.bootstrap.spi.server.Server
addBootstrap, getConfigInitializer, getConfiguration, getServerInitializer, getState, getValidator, initialize, registerEventHandler, registerEventHandler, registerEventHandler, registerEventHandlers, removeBootstrap, setConfigInitializer, setConfiguration, setServerInitializer, setValidator, shutdown, start, unregisterEventHandler
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Constructor Detail

MCServerImpl

public MCServerImpl()
Constructor Creates the server with no initial configuration


MCServerImpl

public MCServerImpl(org.jboss.bootstrap.spi.mc.config.MCServerConfig config)
Creates the server with the specified initial configuration, defaulting the config initializer, server initializer, and config validator if not already set

Parameters:
config -

MCServerImpl

public MCServerImpl(org.jboss.bootstrap.spi.mc.config.MCServerConfig config,
                    boolean defaultInit)
Creates the server with the specified initial configuration, optionally defaulting the config initializer, server initializer, and config validator if not already set

Parameters:
config -
defaultInit - Whether to default the config initializer, server initializer, and config validator if not already set
Method Detail

getDefaultServerConfigClass

protected Class<? extends org.jboss.bootstrap.spi.mc.config.MCServerConfig> getDefaultServerConfigClass()
Specified by:
getDefaultServerConfigClass in class org.jboss.bootstrap.impl.base.server.AbstractServer<org.jboss.bootstrap.spi.mc.server.MCServer,org.jboss.bootstrap.spi.mc.config.MCServerConfig>


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