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

📄 stateaware.java

📁 模块化您的应用系统
💻 JAVA
字号:
package com.opensymphony.tonic;

/**
 * Makes a tonic module aware of its activation state. Modules should implement this
 * interface if they want to be notified when they are enabled and disabled.
 */
public interface StateAware
{
    /**
     * Called by the tonic manager when the module is activated. Modules that are active
     * when the tonic manager is initialised will have this method called at that time.
     */
    void enabled();

    /**
     * Called by the tonic manager when the module is deactivated. This method will only
     * be called if the tonic is deactivated while the application is running: stopping
     * the server will <i>not</i> cause this method to be called on any plugins.
     */
    void disabled();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -