org.jboss.portal.core.modules
Class AbstractModule

java.lang.Object
  extended by ServiceMBeanSupport
      extended by org.jboss.portal.jems.as.system.AbstractJBossService
          extended by org.jboss.portal.core.modules.AbstractModule
Direct Known Subclasses:
MailModuleImpl

public class AbstractModule
extends AbstractJBossService

Base class for modules. Provides JNDI facilities.

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
protected  java.lang.String jndiName
           
 
Constructor Summary
AbstractModule()
           
 
Method Summary
 java.lang.String getJNDIName()
           
 void setJNDIName(java.lang.String jndiName)
           
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jndiName

protected java.lang.String jndiName
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
Throws:
java.lang.Exception

stopService

protected void stopService()
                    throws java.lang.Exception
Throws:
java.lang.Exception