org.ow2.util.jmx.api
Interface IMBeanAttribute


public interface IMBeanAttribute

Implementations of this interface can be added dynamically as attributes in a BaseModelMBeanExt.

Author:
missonng

Method Summary
 MBeanAttributeInfo getMBeanAttributeInfo()
          Get the MBeanAttributeInfo describing this attribute.
 Object getValue(String id)
          Get the attributes value for this BaseModelMBeanExt id.
 void setValue(String id, Object value)
          Set the attribute value for this BaseModelMBeanExt id.
 

Method Detail

getMBeanAttributeInfo

MBeanAttributeInfo getMBeanAttributeInfo()
Get the MBeanAttributeInfo describing this attribute.

Returns:
The MBeanAttributeInfo describing this attribute.

getValue

Object getValue(String id)
Get the attributes value for this BaseModelMBeanExt id.

Parameters:
id - The BaseModelMBeanExt id.
Returns:
The attributes value.

setValue

void setValue(String id,
              Object value)
Set the attribute value for this BaseModelMBeanExt id.

Parameters:
id - The BaseModelMBeanExt id.
value - The attributes value.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.