org.jboss.portal.server.impl
Class ServerManagerImpl

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.portal.server.util.Service
              extended by org.jboss.portal.server.impl.ServerManagerImpl
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ServerManager, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class ServerManagerImpl
extends Service
implements ServerManager


Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
ServerManagerImpl()
           
 
Method Summary
 void deploy(Item item)
           
 void deploy(java.lang.Object key, Item item)
           
 BootStrapContext getBootStrap()
           
 Configuration getConfiguration()
           
 java.lang.String getContainerName()
           
 InvocationFactory getInvocationContext()
           
 java.lang.String getInvocationFactoryClassName()
           
 Kernel getKernel()
           
 ObjectFactory getObjectFactory()
           
 PortalServer getPortalServer()
           
 DeploymentReactor getReactor()
           
static void loadInterceptorSetMetaData(InterceptorListMetaData interceptorListMD, org.w3c.dom.Element interceptorsElt)
          Load the interceptor configuration.
 void setBootStrap(BootStrapContext bootStrap)
           
 void setConfiguration(Configuration configuration)
           
 void setContainerName(java.lang.String containerName)
           
 void setInvocationContext(InvocationFactory invocationFactory)
           
 void setInvocationFactoryClassName(java.lang.String invocationFactoryClassName)
           
 void setObjectFactory(ObjectFactory objectFactory)
           
 void setReactor(DeploymentReactor reactor)
           
protected  void startService()
           
protected  void stopService()
           
 void undeploy(Item item)
           
 void undeploy(java.lang.Object key)
           
 
Methods inherited from class org.jboss.portal.server.util.Service
create, destroy, getState, getStateString, start, stop
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
createService, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister
 
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
 

Constructor Detail

ServerManagerImpl

public ServerManagerImpl()
Method Detail

loadInterceptorSetMetaData

public static void loadInterceptorSetMetaData(InterceptorListMetaData interceptorListMD,
                                              org.w3c.dom.Element interceptorsElt)
Load the interceptor configuration.


startService

protected void startService()
                     throws java.lang.Exception
Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
Throws:
java.lang.Exception

stopService

protected void stopService()
                    throws java.lang.Exception
Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport
Throws:
java.lang.Exception

getInvocationFactoryClassName

public java.lang.String getInvocationFactoryClassName()

setInvocationFactoryClassName

public void setInvocationFactoryClassName(java.lang.String invocationFactoryClassName)

getContainerName

public java.lang.String getContainerName()

getInvocationContext

public InvocationFactory getInvocationContext()
Specified by:
getInvocationContext in interface ServerManager

setInvocationContext

public void setInvocationContext(InvocationFactory invocationFactory)

setContainerName

public void setContainerName(java.lang.String containerName)

getObjectFactory

public ObjectFactory getObjectFactory()
Specified by:
getObjectFactory in interface ServerManager

setObjectFactory

public void setObjectFactory(ObjectFactory objectFactory)

getBootStrap

public BootStrapContext getBootStrap()
Specified by:
getBootStrap in interface ServerManager

setBootStrap

public void setBootStrap(BootStrapContext bootStrap)

getConfiguration

public Configuration getConfiguration()
Specified by:
getConfiguration in interface ServerManager

setConfiguration

public void setConfiguration(Configuration configuration)

getReactor

public DeploymentReactor getReactor()
Specified by:
getReactor in interface ServerManager

setReactor

public void setReactor(DeploymentReactor reactor)

getKernel

public Kernel getKernel()
Specified by:
getKernel in interface ServerManager

getPortalServer

public PortalServer getPortalServer()
Specified by:
getPortalServer in interface ServerManager

deploy

public void deploy(java.lang.Object key,
                   Item item)
Specified by:
deploy in interface ServerManager

undeploy

public void undeploy(java.lang.Object key)
Specified by:
undeploy in interface ServerManager

deploy

public void deploy(Item item)

undeploy

public void undeploy(Item item)