org.objectweb.jonas.service
Class AbsDynamicServiceImpl

java.lang.Object
  extended byjavax.management.NotificationBroadcasterSupport
      extended byorg.objectweb.jonas.management.ReconfigDispatcher
          extended byorg.objectweb.jonas.service.AbsServiceImpl
              extended byorg.objectweb.jonas.service.AbsDynamicServiceImpl
All Implemented Interfaces:
javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean, java.lang.Runnable, Service

public abstract class AbsDynamicServiceImpl
extends AbsServiceImpl
implements java.lang.Runnable

Abstract implementation of a Dynamic Service


Field Summary
 
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
AbsDynamicServiceImpl()
           
 
Method Summary
protected  void doStart()
          Abstract start-up method to be implemented by sub-classes
abstract  void run()
           
 int waitTime()
           
 
Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl
doInit, doStop, getDomainName, getJonasServerName, getName, init, isStarted, setName, start, stop
 
Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
handleNotification, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsDynamicServiceImpl

public AbsDynamicServiceImpl()
Method Detail

run

public abstract void run()
                  throws ServiceException
Specified by:
run in interface java.lang.Runnable
Throws:
ServiceException

waitTime

public int waitTime()

doStart

protected final void doStart()
Description copied from class: AbsServiceImpl
Abstract start-up method to be implemented by sub-classes

Specified by:
doStart in class AbsServiceImpl