List of usage examples for org.apache.commons.pool.impl StackObjectPool StackObjectPool
public StackObjectPool()
From source file:jp.co.acroquest.endosnipe.data.db.ConnectionManager.java
/** * ???????// ww w . j a v a 2 s .c o m * @param key * @return ? */ public ObjectPool createNewConnectionPool(String key) { ObjectPool connectionPool = this.connectionPoolMap_.get(key); if (connectionPool == null) { connectionPool = new StackObjectPool(); this.connectionPoolMap_.put(key, connectionPool); } return connectionPool; }