org.jboss.system
Class ServiceDynamicMBeanSupport
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.system.ServiceDynamicMBeanSupport
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean
public class ServiceDynamicMBeanSupport
- extends ServiceMBeanSupport
- implements DynamicMBean
- Version:
- $Revision: 81033 $
Revisions:
6 janv. 2003 Sacha Labourey:
- Author:
- Sacha Labourey.
- See Also:
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 |
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, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, startService, stop, stopService, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceDynamicMBeanSupport
public ServiceDynamicMBeanSupport()
ServiceDynamicMBeanSupport
public ServiceDynamicMBeanSupport(Class type)
ServiceDynamicMBeanSupport
public ServiceDynamicMBeanSupport(String category)
ServiceDynamicMBeanSupport
public ServiceDynamicMBeanSupport(org.jboss.logging.Logger log)
getAttribute
public Object getAttribute(String attribute)
throws AttributeNotFoundException,
MBeanException,
ReflectionException
- Specified by:
getAttribute
in interface DynamicMBean
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
invoke
public Object invoke(String actionName,
Object[] params,
String[] signature)
throws MBeanException,
ReflectionException
- Specified by:
invoke
in interface DynamicMBean
- Throws:
MBeanException
ReflectionException
setAttribute
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Specified by:
setAttribute
in interface DynamicMBean
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- Specified by:
setAttributes
in interface DynamicMBean
getAttributes
public AttributeList getAttributes(String[] attributes)
- Specified by:
getAttributes
in interface DynamicMBean
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo
in interface DynamicMBean
getInternalDescription
protected String getInternalDescription()
getInternalConstructorInfo
protected MBeanConstructorInfo[] getInternalConstructorInfo()
getInternalAttributeInfo
protected MBeanAttributeInfo[] getInternalAttributeInfo()
getInternalOperationInfo
protected MBeanOperationInfo[] getInternalOperationInfo()
getInternalNotificationInfo
protected MBeanNotificationInfo[] getInternalNotificationInfo()
getInternalAttribute
protected Object getInternalAttribute(String attribute)
throws AttributeNotFoundException,
MBeanException,
ReflectionException
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
setInternalAttribute
protected void setInternalAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
internalInvoke
protected Object internalInvoke(String actionName,
Object[] params,
String[] signature)
throws MBeanException,
ReflectionException
- Throws:
MBeanException
ReflectionException
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.