📄 simplestandardmbean.java
字号:
/** * 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"). */public interface SimpleStandardMBean { /** * Getter: set the "State" attribute of the "SimpleStandard" standard * MBean. * * @return the current value of the "State" attribute. */ public String getState(); /** * Setter: set the "State" attribute of the "SimpleStandard" standard * MBean. * * @param <VAR>s</VAR> the new value of the "State" attribute. */ public void setState(String s); /** * Getter: get the "NbChanges" attribute of the "SimpleStandard" standard * MBean. * * @return the current value of the "NbChanges" attribute. */ public int getNbChanges(); /** * Operation: reset to their initial values the "State" and "NbChanges" * attributes of the "SimpleStandard" standard MBean. */ public void reset();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -