⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simplestandardmbean.java

📁 jdk-6u10-docs java开发宝典
💻 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 + -