private ConnectionPoolManager m_PoolMgr = new ConnectionPoolManager();
m_ConnectionPool = m_PoolMgr.getPool(name); m_PoolMgr.registerPool(name, pool); m_ConnectionPool = pool;
/** */ public ConnectionPoolManager( ) { init(); }
/** * Remove a pool from the global table. If the pool still has * active connections, then only mark this pool as inactive and * leave it around until all the existing connections are closed. * @param name * */ public synchronized void removePool( String name ) { ConnectionPool pool = getPool(name); if (null != pool) { // // Disable future use of this pool under the Xalan // extension only. This flag should only exist in the // wrapper and not in the actual pool implementation. pool.setPoolEnabled(false); // // Remove the pool from the Hashtable if we don'd have // any active connections. // if ( ! pool.hasActiveConnections() ) m_poolTable.remove(name); } }
/** * Remove a pool from the global table. If the pool still has * active connections, then only mark this pool as inactive and * leave it around until all the existing connections are closed. * @param name * */ public synchronized void removePool( String name ) { ConnectionPool pool = getPool(name); if (null != pool) { // // Disable future use of this pool under the Xalan // extension only. This flag should only exist in the // wrapper and not in the actual pool implementation. pool.setPoolEnabled(false); // // Remove the pool from the Hashtable if we don'd have // any active connections. // if ( ! pool.hasActiveConnections() ) m_poolTable.remove(name); } }
ConnectionPool cpool = m_PoolMgr.getPool(poolName); m_PoolMgr.registerPool(poolName, defpool); m_ConnectionPool = defpool;
/** */ public ConnectionPoolManager( ) { init(); }
/** * Remove a pool from the global table. If the pool still has * active connections, then only mark this pool as inactive and * leave it around until all the existing connections are closed. * @param name * */ public synchronized void removePool( String name ) { ConnectionPool pool = getPool(name); if (null != pool) { // // Disable future use of this pool under the Xalan // extension only. This flag should only exist in the // wrapper and not in the actual pool implementation. pool.setPoolEnabled(false); // // Remove the pool from the Hashtable if we don'd have // any active connections. // if ( ! pool.hasActiveConnections() ) m_poolTable.remove(name); } }
private ConnectionPoolManager m_PoolMgr = new ConnectionPoolManager();
m_ConnectionPool = m_PoolMgr.getPool(name); m_PoolMgr.registerPool(name, pool); m_ConnectionPool = pool;
/** */ public ConnectionPoolManager( ) { init(); }
/** * Remove a pool from the global table. If the pool still has * active connections, then only mark this pool as inactive and * leave it around until all the existing connections are closed. * @param name * */ public synchronized void removePool( String name ) { ConnectionPool pool = getPool(name); if (null != pool) { // // Disable future use of this pool under the Xalan // extension only. This flag should only exist in the // wrapper and not in the actual pool implementation. pool.setPoolEnabled(false); // // Remove the pool from the Hashtable if we don'd have // any active connections. // if ( ! pool.hasActiveConnections() ) m_poolTable.remove(name); } }
private ConnectionPoolManager m_PoolMgr = new ConnectionPoolManager();
m_ConnectionPool = m_PoolMgr.getPool(name); m_PoolMgr.registerPool(name, pool); m_ConnectionPool = pool;
/** */ public ConnectionPoolManager( ) { init(); }
private ConnectionPoolManager m_PoolMgr = new ConnectionPoolManager();
m_ConnectionPool = m_PoolMgr.getPool(name); m_PoolMgr.registerPool(name, pool); m_ConnectionPool = pool;
ConnectionPool cpool = m_PoolMgr.getPool(poolName); m_PoolMgr.registerPool(poolName, defpool); m_ConnectionPool = defpool;
ConnectionPool cpool = m_PoolMgr.getPool(poolName); m_PoolMgr.registerPool(poolName, defpool); m_ConnectionPool = defpool;
ConnectionPool cpool = m_PoolMgr.getPool(poolName); m_PoolMgr.registerPool(poolName, defpool); m_ConnectionPool = defpool;