Methods Summary |
---|
public void | clearState()
If this attribute needs to be cleared, the user needs to implement this
method to reset the state to initial state. If the Monitored Attribute
doesn't change like for example (ConnectionManager High Water Mark),
then clearState() is a No Op.
|
public com.sun.corba.se.spi.monitoring.MonitoredAttributeInfo | getAttributeInfo()
Gets the Monitored Attribute Info for the attribute.
|
public java.lang.String | getName()
Gets the name of the Monitored Attribute.
|
public java.lang.Object | getValue()
Gets the value of the Monitored Attribute. The value can be obtained
from different parts of the module. User may choose to delegate the call
to getValue() to other variables.
NOTE: It is important to make sure that the type of Object returned in
getvalue is same as the one specified in MonitoredAttributeInfo for this
attribute.
|
public void | setValue(java.lang.Object value)
Sets the value for the Monitored Attribute if isWritable() is false, the
method will throw ILLEGAL Operation exception.
Also, the type of 'value' should be same as specified in the
MonitoredAttributeInfo for a particular instance.
|