org.jboss.system
Class ServiceDynamicMBeanSupport

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.system.ServiceDynamicMBeanSupport
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, Service, ServiceMBean

public class ServiceDynamicMBeanSupport
extends ServiceMBeanSupport
implements javax.management.DynamicMBean

Version:
$Revision: 1.1.2.3 $

Revisions:

6 janv. 2003 Sacha Labourey:

Author:
Sacha Labourey.
See Also:

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
ServiceDynamicMBeanSupport()
           
ServiceDynamicMBeanSupport(Class type)
           
ServiceDynamicMBeanSupport(org.jboss.logging.Logger log)
           
ServiceDynamicMBeanSupport(String category)
           
 
Method Summary
 Object getAttribute(String attribute)
           
 javax.management.AttributeList getAttributes(String[] arg0)
           
protected  Object getInternalAttribute(String attribute)
           
 javax.management.MBeanInfo getMBeanInfo()
           
protected  Object internalInvoke(String actionName, Object[] params, String[] signature)
           
 Object invoke(String actionName, Object[] params, String[] signature)
           
 void setAttribute(javax.management.Attribute attribute)
           
 javax.management.AttributeList setAttributes(javax.management.AttributeList arg0)
           
protected  void setInternalAttribute(javax.management.Attribute attribute)
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDynamicMBeanSupport

public ServiceDynamicMBeanSupport()

ServiceDynamicMBeanSupport

public ServiceDynamicMBeanSupport(Class type)

ServiceDynamicMBeanSupport

public ServiceDynamicMBeanSupport(String category)

ServiceDynamicMBeanSupport

public ServiceDynamicMBeanSupport(org.jboss.logging.Logger log)
Method Detail

getAttribute

public Object getAttribute(String attribute)
                    throws javax.management.AttributeNotFoundException,
                           javax.management.MBeanException,
                           javax.management.ReflectionException
Specified by:
getAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException

invoke

public Object invoke(String actionName,
                     Object[] params,
                     String[] signature)
              throws javax.management.MBeanException,
                     javax.management.ReflectionException
Specified by:
invoke in interface javax.management.DynamicMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException
Specified by:
setAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList arg0)
Specified by:
setAttributes in interface javax.management.DynamicMBean

getAttributes

public javax.management.AttributeList getAttributes(String[] arg0)
Specified by:
getAttributes in interface javax.management.DynamicMBean

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface javax.management.DynamicMBean

getInternalAttribute

protected Object getInternalAttribute(String attribute)
                               throws javax.management.AttributeNotFoundException,
                                      javax.management.MBeanException,
                                      javax.management.ReflectionException
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException

setInternalAttribute

protected void setInternalAttribute(javax.management.Attribute attribute)
                             throws javax.management.AttributeNotFoundException,
                                    javax.management.InvalidAttributeValueException,
                                    javax.management.MBeanException,
                                    javax.management.ReflectionException
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

internalInvoke

protected Object internalInvoke(String actionName,
                                Object[] params,
                                String[] signature)
                         throws javax.management.MBeanException,
                                javax.management.ReflectionException
Throws:
javax.management.MBeanException
javax.management.ReflectionException


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