simplestandardmbean.java
来自「jdk 6.0的api文档...很难找到哦」· Java 代码 · 共 46 行
JAVA
46 行
/** * 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 + =
减小字号Ctrl + -
显示快捷键?