| jmx.SimpleStandardMBean
All known Subclasses: jmx.SimpleStandard,
SimpleStandardMBean | public interface SimpleStandardMBean (Code) | | This is the management interface explicitly defined for the "SimpleStandard" standard MBean.
The "SimpleStandard" standard MBean implements this interface
in order to be manageable through a JMX agent.
The "SimpleStandardMBean" 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").
|
Method Summary | |
public String[] | getAllStates() | public Integer | getNbChanges() Getter: get the "NbChanges" attribute of the "SimpleStandard" standard MBean. | public int | getNbChangesInt() | public String | getState() Getter: set the "State" attribute of the "SimpleStandard" standard MBean. | public void | reset() Operation: reset to their initial values the "State" and "NbChanges"
attributes of the "SimpleStandard" standard MBean. | public void | setState(String s) Setter: set the "State" attribute of the "SimpleStandard" standard MBean. |
getNbChanges | public Integer getNbChanges()(Code) | | Getter: get the "NbChanges" attribute of the "SimpleStandard" standard MBean.
the current value of the "NbChanges" attribute. |
getNbChangesInt | public int getNbChangesInt()(Code) | | |
getState | public String getState()(Code) | | Getter: set the "State" attribute of the "SimpleStandard" 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 "SimpleStandard" standard MBean.
|
setState | public void setState(String s)(Code) | | Setter: set the "State" attribute of the "SimpleStandard" standard MBean.
s the new value of the "State" attribute. |
|
|