|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.test.jmx.compliance.notcompliant.support.NullDynamic
A dynamic mbean with Null MBeanInfo
| Constructor Summary | |
NullDynamic()
|
|
| Method Summary | |
Object |
getAttribute(String attribute)
Returns the value of the attribute with the name matching the passed string. |
javax.management.AttributeList |
getAttributes(String[] attributes)
Returns the values of the attributes with names matching the passed string array. |
javax.management.MBeanInfo |
getMBeanInfo()
Returns the management interface that describes this dynamic resource. |
Object |
invoke(String actionName,
Object[] params,
String[] signature)
Invokes a resource operation. |
void |
setAttribute(javax.management.Attribute attribute)
Sets the value of an attribute. |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes)
Sets the values of the attributes passed as an AttributeList of name and new value pairs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NullDynamic()
| Method Detail |
public Object getAttribute(String attribute)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
javax.management.DynamicMBean
getAttribute in interface javax.management.DynamicMBeanattribute - the name of the attribute.
javax.management.AttributeNotFoundException - when there is no such attribute.
javax.management.ReflectionException - wraps any error invoking the resource.
javax.management.MBeanException - wraps any error thrown by the resource when
getting the attribute.
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
javax.management.DynamicMBeanAttribute.
setAttribute in interface javax.management.DynamicMBeanattribute - the name and new value of the attribute.
javax.management.AttributeNotFoundException - when there is no such attribute.
javax.management.ReflectionException - wraps any error invoking the resource.
javax.management.InvalidAttributeValueException - when the new value cannot be
converted to the type of the attribute.
javax.management.MBeanException - wraps any error thrown by the resource when
setting the new value.Attributepublic javax.management.AttributeList getAttributes(String[] attributes)
javax.management.DynamicMBean
getAttributes in interface javax.management.DynamicMBeanattributes - the names of the attribute.
AttributeList of name and value pairs.public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
javax.management.DynamicMBeanAttributeList of name and new value pairs.
setAttributes in interface javax.management.DynamicMBeanattributes - the name an new value pairs.
AttributeList of name and value pairs
that were actually set.
public Object invoke(String actionName,
Object[] params,
String[] signature)
throws javax.management.MBeanException,
javax.management.ReflectionException
javax.management.DynamicMBean
invoke in interface javax.management.DynamicMBeanactionName - the name of the operation to perform.params - the parameters to pass to the operation.signature - the signartures of the parameters.
javax.management.MBeanException - wraps any error thrown by the resource when
performing the operation.
javax.management.ReflectionException - wraps any error invoking the resource.public javax.management.MBeanInfo getMBeanInfo()
javax.management.DynamicMBean
getMBeanInfo in interface javax.management.DynamicMBean
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||