org.objectweb.jonas.registry
Class RegistryServiceImpl

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.objectweb.jonas.management.ReconfigDispatcher
          extended by org.objectweb.jonas.service.AbsServiceImpl
              extended by org.objectweb.jonas.registry.RegistryServiceImpl
All Implemented Interfaces:
javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean, RegistryService, Service

public class RegistryServiceImpl
extends AbsServiceImpl
implements RegistryService

Author:
Helene Joanin Contributor(s): Julien Lehembre (Libelis)

Field Summary
static java.lang.String CLASS
           
static java.lang.String COLLOCATED
           
static java.lang.String DEFAULT_MODE
           
static java.lang.String MODE
           
static java.lang.String REMOTE
           
 
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
RegistryServiceImpl()
           
 
Method Summary
 void doInit(javax.naming.Context ctx)
          Abstract initialization method to be implemented by sub-classes
 void doStart()
          Abstract start-up method to be implemented by sub-classes
 void doStop()
          Abstract method for service stopping to be implemented by sub-classes
 
Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl
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
 
Methods inherited from interface org.objectweb.jonas.service.Service
getName, init, isStarted, setName, start, stop
 

Field Detail

MODE

public static final java.lang.String MODE
See Also:
Constant Field Values

CLASS

public static final java.lang.String CLASS
See Also:
Constant Field Values

DEFAULT_MODE

public static final java.lang.String DEFAULT_MODE
See Also:
Constant Field Values

COLLOCATED

public static final java.lang.String COLLOCATED
See Also:
Constant Field Values

REMOTE

public static final java.lang.String REMOTE
See Also:
Constant Field Values
Constructor Detail

RegistryServiceImpl

public RegistryServiceImpl()
Method Detail

doInit

public void doInit(javax.naming.Context ctx)
Description copied from class: AbsServiceImpl
Abstract initialization method to be implemented by sub-classes

Specified by:
doInit in class AbsServiceImpl
Parameters:
ctx - configuration of the service

doStart

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

Specified by:
doStart in class AbsServiceImpl
Throws:
ServiceException - service start-up failed

doStop

public void doStop()
            throws ServiceException
Description copied from class: AbsServiceImpl
Abstract method for service stopping to be implemented by sub-classes

Specified by:
doStop in class AbsServiceImpl
Throws:
ServiceException - service stopping failed