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

📄 loginitializer.java

📁 aglet的部分源码
💻 JAVA
字号:
package org.aglets.log;/** *  Abstract class for logging system initializers. Used to obtain the proper *  LogCategory implementation. Implementers of this class will also intialize *  the logging system backend statically. An Aglets server should load the *  desired logging implementation dynamically in the first few lines of it's *  main routine. * * @author     Robert Bergstrom * @created    July 16, 2001 * @version    1.0 */public abstract class LogInitializer {    /**     *  Singleton. Subclasses initialize to proper class.     *     * @since     */    protected static LogInitializer     m_instance = null;    /**     *  Gets the CategoryImpl attribute of the LogInitializer object     *     * @param  name  Description of Parameter     * @return       The CategoryImpl value     * @since     */    protected LogCategory getCategoryImpl(String name) {        throw new RuntimeException("Not Implemented!");    }    /**     *  Create a category in the logging hierachry.     *     * @param  categoryName  Description of Parameter     * @return               The LogCategory implementation.     * @since                1.0     * @returns              LogCategory implementation.     */    static public LogCategory getCategory(String categoryName) {        return m_instance.getCategoryImpl(categoryName);    }}

⌨️ 快捷键说明

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