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

📄 connectionhandlerpool.java

📁 一个java的LDAP服务器
💻 JAVA
字号:
package org.javaldap.server;/** * Insert the type's description here. * Creation date: (6/10/2000 12:16:26 PM) * @author: Administrator */class ConnectionHandlerPool extends org.javaldap.server.util.ObjectPool {    private static ConnectionHandlerPool chp = null;    /**     * ConnectionHandlerPool constructor comment.     */    private ConnectionHandlerPool() {        super();    }    /**     * create method comment.     */    public Object create() throws Exception {        return new ConnectionHandler();    }    /**     * expire method comment.     */    public void expire(Object o) {    }    public static ConnectionHandlerPool getInstance() {        if (chp == null) {            chp = new ConnectionHandlerPool();        }        return chp;    }    /**     * validate method comment.     */    public boolean validate(Object o) {        return false;    }}

⌨️ 快捷键说明

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