org.jboss.naming
Class JNDIBindingServiceMgr

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.naming.JNDIBindingServiceMgr
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, JNDIBindingServiceMgrMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class JNDIBindingServiceMgr
extends org.jboss.system.ServiceMBeanSupport
implements JNDIBindingServiceMgrMBean

A service wrapper which allows arbitrary values to be bound into JNDI.

Version:
$Revision: 57209 $
Author:
Scott.Stark@jboss.org

Field Summary
 
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
JNDIBindingServiceMgr()
           
 
Method Summary
 JNDIBindings getBindingsConfig()
           
 void setBindingsConfig(JNDIBindings bindings)
           
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
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
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

JNDIBindingServiceMgr

public JNDIBindingServiceMgr()
Method Detail

getBindingsConfig

public JNDIBindings getBindingsConfig()
Specified by:
getBindingsConfig in interface JNDIBindingServiceMgrMBean

setBindingsConfig

public void setBindingsConfig(JNDIBindings bindings)
Specified by:
setBindingsConfig in interface JNDIBindingServiceMgrMBean

startService

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

stopService

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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.