/** * See enableDefaultConnectionPool * * @deprecated Use setFeature("default-pool-enabled", "false"); */ public void disableDefaultConnectionPool( ) { if (DEBUG) System.out.println("Disabling Default Connection Pool"); m_DefaultPoolingEnabled = false; if (m_ConnectionPool == null) return; if (!m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(false); }
/** * There is a problem with some JDBC drivers when a Connection * is open and the JVM shutsdown. If there is a problem, there * is no way to control the currently open connections in the * pool. So for the default connection pool, the actuall pooling * mechinsm is disabled by default. The Stylesheet designer can * re-enabled pooling to take advantage of connection pools. * The connection pool can even be disabled which will close all * outstanding connections. * * @deprecated Use setFeature("default-pool-enabled", "true"); */ public void enableDefaultConnectionPool( ) { if (DEBUG) System.out.println("Enabling Default Connection Pool"); m_DefaultPoolingEnabled = true; if (m_ConnectionPool == null) return; if (m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(true); }
if (m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(value);
/** * 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); } }
/** * See enableDefaultConnectionPool * * @deprecated Use setFeature("default-pool-enabled", "false"); */ public void disableDefaultConnectionPool( ) { if (DEBUG) System.out.println("Disabling Default Connection Pool"); m_DefaultPoolingEnabled = false; if (m_ConnectionPool == null) return; if (!m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(false); }
/** * See enableDefaultConnectionPool * * @deprecated Use setFeature("default-pool-enabled", "false"); */ public void disableDefaultConnectionPool( ) { if (DEBUG) System.out.println("Disabling Default Connection Pool"); m_DefaultPoolingEnabled = false; if (m_ConnectionPool == null) return; if (!m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(false); }
/** * See enableDefaultConnectionPool * * @deprecated Use setFeature("default-pool-enabled", "false"); */ public void disableDefaultConnectionPool( ) { if (DEBUG) System.out.println("Disabling Default Connection Pool"); m_DefaultPoolingEnabled = false; if (m_ConnectionPool == null) return; if (!m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(false); }
/** * There is a problem with some JDBC drivers when a Connection * is open and the JVM shutsdown. If there is a problem, there * is no way to control the currently open connections in the * pool. So for the default connection pool, the actuall pooling * mechinsm is disabled by default. The Stylesheet designer can * re-enabled pooling to take advantage of connection pools. * The connection pool can even be disabled which will close all * outstanding connections. * * @deprecated Use setFeature("default-pool-enabled", "true"); */ public void enableDefaultConnectionPool( ) { if (DEBUG) System.out.println("Enabling Default Connection Pool"); m_DefaultPoolingEnabled = true; if (m_ConnectionPool == null) return; if (m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(true); }
/** * There is a problem with some JDBC drivers when a Connection * is open and the JVM shutsdown. If there is a problem, there * is no way to control the currently open connections in the * pool. So for the default connection pool, the actuall pooling * mechinsm is disabled by default. The Stylesheet designer can * re-enabled pooling to take advantage of connection pools. * The connection pool can even be disabled which will close all * outstanding connections. * * @deprecated Use setFeature("default-pool-enabled", "true"); */ public void enableDefaultConnectionPool( ) { if (DEBUG) System.out.println("Enabling Default Connection Pool"); m_DefaultPoolingEnabled = true; if (m_ConnectionPool == null) return; if (m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(true); }
/** * There is a problem with some JDBC drivers when a Connection * is open and the JVM shutsdown. If there is a problem, there * is no way to control the currently open connections in the * pool. So for the default connection pool, the actuall pooling * mechinsm is disabled by default. The Stylesheet designer can * re-enabled pooling to take advantage of connection pools. * The connection pool can even be disabled which will close all * outstanding connections. * * @deprecated Use setFeature("default-pool-enabled", "true"); */ public void enableDefaultConnectionPool( ) { if (DEBUG) System.out.println("Enabling Default Connection Pool"); m_DefaultPoolingEnabled = true; if (m_ConnectionPool == null) return; if (m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(true); }
if (m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(value);
if (m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(value);
if (m_IsDefaultPool) return; m_ConnectionPool.setPoolEnabled(value);
/** * 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); } }
/** * 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); } }