org.jboss.portal.server.deployment
Class SimpleConfigurator

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.deployment.SimpleConfigurator
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, KernelEventListener, org.jboss.system.Service, org.jboss.system.ServiceMBean
Direct Known Subclasses:
TCKConfigurator

public class SimpleConfigurator
extends Service
implements KernelEventListener


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
SimpleConfigurator()
           
 
Method Summary
protected  java.lang.String getInstanceName(Component component)
          Override to provide an alternative naming scheme.
 ServerManager getServerManager()
           
protected  java.lang.String getWindowName(Portal portal, Component component)
          Override to provide an alternative naming scheme.
 void handleEvent(KernelEvent event)
           
 void setServerManager(ServerManager manager)
           
 void startService()
           
 void stopService()
           
 
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

SimpleConfigurator

public SimpleConfigurator()
Method Detail

getServerManager

public ServerManager getServerManager()

setServerManager

public void setServerManager(ServerManager manager)

startService

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

stopService

public void stopService()
Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport

handleEvent

public void handleEvent(KernelEvent event)
Specified by:
handleEvent in interface KernelEventListener

getInstanceName

protected java.lang.String getInstanceName(Component component)
Override to provide an alternative naming scheme.


getWindowName

protected java.lang.String getWindowName(Portal portal,
                                         Component component)
Override to provide an alternative naming scheme.