com.openexchange.admin.storage.sqlStorage
Class OXAdminPoolDBPool
java.lang.Object
com.openexchange.admin.storage.sqlStorage.OXAdminPoolDBPool
- All Implemented Interfaces:
- OXAdminPoolInterface
public class OXAdminPoolDBPool
- extends java.lang.Object
- implements OXAdminPoolInterface
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OXAdminPoolDBPool
public OXAdminPoolDBPool(PropertyHandler prop)
getConnectionForConfigDB
public java.sql.Connection getConnectionForConfigDB()
throws PoolException
- Specified by:
getConnectionForConfigDB
in interface OXAdminPoolInterface
- Throws:
PoolException
getConnectionForContext
public java.sql.Connection getConnectionForContext(int contextId)
throws PoolException
- Specified by:
getConnectionForContext
in interface OXAdminPoolInterface
- Throws:
PoolException
getConnectionForContextNoTimeout
public java.sql.Connection getConnectionForContextNoTimeout(int contextId)
throws PoolException
- Specified by:
getConnectionForContextNoTimeout
in interface OXAdminPoolInterface
- Throws:
PoolException
pushConnectionForConfigDB
public boolean pushConnectionForConfigDB(java.sql.Connection con)
throws PoolException
- Specified by:
pushConnectionForConfigDB
in interface OXAdminPoolInterface
- Throws:
PoolException
pushConnectionForContext
public boolean pushConnectionForContext(int contextId,
java.sql.Connection con)
throws PoolException
- Specified by:
pushConnectionForContext
in interface OXAdminPoolInterface
- Throws:
PoolException
pushConnectionForContextNoTimeout
public boolean pushConnectionForContextNoTimeout(int contextId,
java.sql.Connection con)
throws PoolException
- Specified by:
pushConnectionForContextNoTimeout
in interface OXAdminPoolInterface
- Throws:
PoolException