|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.management.mbeans.AbstractDynamicMBean
public abstract class AbstractDynamicMBean
Ancestor for MBeans. Eases implementation of the DynamicMBean interface.
Provides empty method implementations and implements getAttributes(String[]) and
setAttributes(AttributeList)
| Constructor Summary | |
|---|---|
AbstractDynamicMBean()
|
|
| Method Summary | |
|---|---|
protected javax.management.MBeanAttributeInfo[] |
createMBeanAttributeInfo()
Provides the info which attributes the MBean has. |
protected javax.management.MBeanConstructorInfo[] |
createMBeanConstructorInfo()
Provides the info which constructors MBean has. |
protected javax.management.MBeanNotificationInfo[] |
createMBeanNotificationInfo()
Provides the info which notifications the MBean supports. |
protected javax.management.MBeanOperationInfo[] |
createMBeanOperationInfo()
Provides the info which operations can be called on the MBean. |
java.lang.Object |
getAttribute(java.lang.String name)
|
javax.management.AttributeList |
getAttributes(java.lang.String[] attributes)
Gets a list of attributes using getAttribute(String) |
protected java.lang.String |
getMBeanClassName()
|
protected java.lang.String |
getMBeanDescription()
|
javax.management.MBeanInfo |
getMBeanInfo()
|
protected javax.management.MBeanServer |
getMBeanServer()
|
java.lang.Object |
invoke(java.lang.String method,
java.lang.Object[] arguments,
java.lang.String[] params)
|
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean registrationDone)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer mbeanserver,
javax.management.ObjectName objectname)
|
void |
setAttribute(javax.management.Attribute attribute)
|
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes)
|
protected void |
setMBeanInfo(javax.management.MBeanInfo info)
Sets the MBeanInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDynamicMBean()
| Method Detail |
|---|
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo in interface javax.management.DynamicMBeanDynamicMBean.getMBeanInfo()protected void setMBeanInfo(javax.management.MBeanInfo info)
info - the infoprotected javax.management.MBeanAttributeInfo[] createMBeanAttributeInfo()
protected javax.management.MBeanConstructorInfo[] createMBeanConstructorInfo()
protected javax.management.MBeanOperationInfo[] createMBeanOperationInfo()
protected javax.management.MBeanNotificationInfo[] createMBeanNotificationInfo()
protected java.lang.String getMBeanClassName()
protected java.lang.String getMBeanDescription()
public java.lang.Object getAttribute(java.lang.String name)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
getAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionExceptionDynamicMBean.getAttribute(java.lang.String)
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
setAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionExceptionDynamicMBean.setAttribute(javax.management.Attribute)public javax.management.AttributeList getAttributes(java.lang.String[] attributes)
getAttribute(String)
getAttributes in interface javax.management.DynamicMBeanDynamicMBean.getAttributes(java.lang.String[])public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes in interface javax.management.DynamicMBeanDynamicMBean.setAttributes(javax.management.AttributeList)
public java.lang.Object invoke(java.lang.String method,
java.lang.Object[] arguments,
java.lang.String[] params)
throws javax.management.MBeanException,
javax.management.ReflectionException
invoke in interface javax.management.DynamicMBeanjavax.management.MBeanException
javax.management.ReflectionExceptionDynamicMBean.invoke(java.lang.String, java.lang.Object[],
java.lang.String[])
public javax.management.ObjectName preRegister(javax.management.MBeanServer mbeanserver,
javax.management.ObjectName objectname)
preRegister in interface javax.management.MBeanRegistrationpublic void postRegister(java.lang.Boolean registrationDone)
postRegister in interface javax.management.MBeanRegistration
public void preDeregister()
throws java.lang.Exception
preDeregister in interface javax.management.MBeanRegistrationjava.lang.Exceptionpublic void postDeregister()
postDeregister in interface javax.management.MBeanRegistrationprotected javax.management.MBeanServer getMBeanServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||