org.jboss.portlet.forums
Class AbstractModule

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.portlet.forums.AbstractModule
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean
Direct Known Subclasses:
ForumsModuleImpl

public class AbstractModule
extends Service

Base class for modules. Provides JNDI facilities.


Field Summary
protected  java.lang.String JNDIName
          DOCUMENT_ME
 
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
AbstractModule()
           
 
Method Summary
 java.lang.String getJNDIName()
           
 void setJNDIName(java.lang.String JNDIName)
           
protected  void startService()
          DOCUMENT_ME
 void stopService()
          DOCUMENT_ME
 
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
 

Field Detail

JNDIName

protected java.lang.String JNDIName
DOCUMENT_ME

Constructor Detail

AbstractModule

public AbstractModule()
Method Detail

getJNDIName

public java.lang.String getJNDIName()

setJNDIName

public void setJNDIName(java.lang.String JNDIName)

startService

protected void startService()
                     throws java.lang.Exception
DOCUMENT_ME

Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
Throws:
java.lang.Exception - DOCUMENT_ME

stopService

public void stopService()
                 throws java.lang.Exception
DOCUMENT_ME

Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport
Throws:
java.lang.Exception - DOCUMENT_ME