站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 system API Documentation 英文版文档

ServiceDynamicMBeanSupport (JBoss System API) - JBoss 4.0.1 sp1 system API Documentation 英文版文档


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.6 $

Revisions:

6 janv. 2003 Sacha Labourey:

  • First implementation
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[] attributes)
           
protected  Object getInternalAttribute(String attribute)
           
protected  javax.management.MBeanAttributeInfo[] getInternalAttributeInfo()
           
protected  javax.management.MBeanConstructorInfo[] getInternalConstructorInfo()
           
protected  String getInternalDescription()
           
protected  javax.management.MBeanNotificationInfo[] getInternalNotificationInfo()
           
protected  javax.management.MBeanOperationInfo[] getInternalOperationInfo()
           
 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 attributes)
           
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 attributes)
Specified by:
setAttributes in interface javax.management.DynamicMBean

getAttributes

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

getMBeanInfo

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

getInternalDescription

protected String getInternalDescription()

getInternalConstructorInfo

protected javax.management.MBeanConstructorInfo[] getInternalConstructorInfo()

getInternalAttributeInfo

protected javax.management.MBeanAttributeInfo[] getInternalAttributeInfo()

getInternalOperationInfo

protected javax.management.MBeanOperationInfo[] getInternalOperationInfo()

getInternalNotificationInfo

protected javax.management.MBeanNotificationInfo[] getInternalNotificationInfo()

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.