|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.DynamicMBeanSupport
A noop stub implementation of DynamicMBean
Constructor Summary | |
DynamicMBeanSupport()
|
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String attribute)
Returns the value of the attribute with the name matching the passed string. |
AttributeList (src) |
getAttributes(java.lang.String[] attributes)
Returns the values of the attributes with names matching the passed string array. |
MBeanInfo (src) |
getMBeanInfo()
Returns the management interface that describes this dynamic resource. |
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
Invokes a resource operation. |
void |
setAttribute(Attribute (src) attribute)
Sets the value of an attribute. |
AttributeList (src) |
setAttributes(AttributeList (src) attributes)
Sets the values of the attributes passed as an AttributeList (src) 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 DynamicMBeanSupport()
Method Detail |
public java.lang.Object getAttribute(java.lang.String attribute) throws AttributeNotFoundException (src) , MBeanException (src) , ReflectionException (src)
DynamicMBean (src)
getAttribute
in interface DynamicMBean (src)
attribute
- the name of the attribute.
MBeanException (src)
- wraps any error thrown by the resource when
getting the attribute.
AttributeNotFoundException (src)
- when there is no such attribute.
ReflectionException (src)
- wraps any error invoking the resource.public void setAttribute(Attribute (src) attribute) throws AttributeNotFoundException (src) , InvalidAttributeValueException (src) , MBeanException (src) , ReflectionException (src)
DynamicMBean (src)
Attribute
(src) .
setAttribute
in interface DynamicMBean (src)
attribute
- the name and new value of the attribute.
InvalidAttributeValueException (src)
- when the new value cannot be
converted to the type of the attribute.
AttributeNotFoundException (src)
- when there is no such attribute.
MBeanException (src)
- wraps any error thrown by the resource when
setting the new value.
ReflectionException (src)
- wraps any error invoking the resource.Attribute
(src) public AttributeList (src) getAttributes(java.lang.String[] attributes)
DynamicMBean (src)
getAttributes
in interface DynamicMBean (src)
attributes
- the names of the attribute.
AttributeList
(src) of name and value pairs.public AttributeList (src) setAttributes(AttributeList (src) attributes)
DynamicMBean (src)
AttributeList
(src) of name and new value pairs.
setAttributes
in interface DynamicMBean (src)
attributes
- the name an new value pairs.
AttributeList
(src) of name and value pairs
that were actually set.public java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature) throws MBeanException (src) , ReflectionException (src)
DynamicMBean (src)
invoke
in interface DynamicMBean (src)
actionName
- the name of the operation to perform.params
- the parameters to pass to the operation.signature
- the signartures of the parameters.
MBeanException (src)
- wraps any error thrown by the resource when
performing the operation.
ReflectionException (src)
- wraps any error invoking the resource.public MBeanInfo (src) getMBeanInfo()
DynamicMBean (src)
getMBeanInfo
in interface DynamicMBean (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |