| example.jmx.relation.SimpleRelationMBean
All known Subclasses: example.jmx.relation.SimpleRelation,
SimpleRelationMBean | public interface SimpleRelationMBean extends RelationSupportMBean(Code) | | This is the management interface explicitly defined for the "SimpleRelation" standard MBean.
The "SimpleRelation" standard MBean implements this interface
in order to be manageable through a JMX agent.
The "SimpleRelationMBean" interface shows how to expose for management:
- a read/write attribute (named "State") through its getter and setter methods,
- a read-only attribute (named "NbChanges") through its getter method,
- an operation (named "reset").
It extends also the RelationSupportMBean interface.
|
Method Summary | |
public Integer | getNbChanges() Getter: get the "NbChanges" attribute of the "SimpleRelation" standard MBean. | public String | getState() Getter: set the "State" attribute of the "SimpleRelation" standard MBean. | public void | reset() Operation: reset to their initial values the "State" and "NbChanges"
attributes of the "SimpleRelation" standard MBean. | public void | setState(String s) Setter: set the "State" attribute of the "SimpleRelation" standard MBean. |
getNbChanges | public Integer getNbChanges()(Code) | | Getter: get the "NbChanges" attribute of the "SimpleRelation" standard MBean.
the current value of the "NbChanges" attribute. |
getState | public String getState()(Code) | | Getter: set the "State" attribute of the "SimpleRelation" standard MBean.
the current value of the "State" attribute. |
reset | public void reset()(Code) | | Operation: reset to their initial values the "State" and "NbChanges"
attributes of the "SimpleRelation" standard MBean.
|
setState | public void setState(String s)(Code) | | Setter: set the "State" attribute of the "SimpleRelation" standard MBean.
|
|
|