org.jboss.portal.core.event
Class PortalEventListenerServiceImpl

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.portal.jems.as.system.AbstractJBossService
              extended by org.jboss.portal.core.event.PortalEventListenerServiceImpl
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, PortalEventListenerService, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class PortalEventListenerServiceImpl
extends AbstractJBossService
implements PortalEventListenerService

Version:
$Revision: 8786 $
Author:
Julien Viet

Field Summary
protected  java.lang.Object listener
           
protected  java.lang.String listenerClassName
           
protected  PortalEventListenerRegistry registry
           
protected  java.lang.String registryId
           
 
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
PortalEventListenerServiceImpl()
           
 
Method Summary
 java.lang.Object getListener()
           
 java.lang.String getListenerClassName()
           
 PortalEventListenerRegistry getRegistry()
           
 java.lang.String getRegistryId()
           
 void setListenerClassName(java.lang.String listenerClassName)
           
 void setRegistry(PortalEventListenerRegistry registry)
           
 void setRegistryId(java.lang.String registryId)
           
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jboss.portal.jems.as.system.AbstractJBossService
create, destroy, getState, getStateString, start, stop
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registryId

protected java.lang.String registryId

registry

protected PortalEventListenerRegistry registry

listener

protected java.lang.Object listener

listenerClassName

protected java.lang.String listenerClassName
Constructor Detail

PortalEventListenerServiceImpl

public PortalEventListenerServiceImpl()
Method Detail

getListenerClassName

public java.lang.String getListenerClassName()

setListenerClassName

public void setListenerClassName(java.lang.String listenerClassName)

getRegistryId

public java.lang.String getRegistryId()

setRegistryId

public void setRegistryId(java.lang.String registryId)

getRegistry

public PortalEventListenerRegistry getRegistry()
Specified by:
getRegistry in interface PortalEventListenerService

setRegistry

public void setRegistry(PortalEventListenerRegistry registry)
Specified by:
setRegistry in interface PortalEventListenerService

getListener

public java.lang.Object getListener()
Specified by:
getListener in interface PortalEventListenerService

startService

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

stopService

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