com.openexchange.admin.storage.sqlStorage
Class OXAdminPoolDBPool
java.lang.Object
com.openexchange.admin.storage.sqlStorage.OXAdminPoolDBPool
- All Implemented Interfaces:
- OXAdminPoolInterface
public class OXAdminPoolDBPool
- extends Object
- implements OXAdminPoolInterface
OXAdminPoolDBPool
public OXAdminPoolDBPool(PropertyHandler prop)
getConnectionForConfigDB
public Connection getConnectionForConfigDB()
throws PoolException
- Specified by:
getConnectionForConfigDB
in interface OXAdminPoolInterface
- Throws:
PoolException
getConnectionForContext
public Connection getConnectionForContext(int contextId)
throws PoolException
- Specified by:
getConnectionForContext
in interface OXAdminPoolInterface
- Throws:
PoolException
getConnectionForContextNoTimeout
public Connection getConnectionForContextNoTimeout(int contextId)
throws PoolException
- Specified by:
getConnectionForContextNoTimeout
in interface OXAdminPoolInterface
- Throws:
PoolException
pushConnectionForConfigDB
public boolean pushConnectionForConfigDB(Connection con)
throws PoolException
- Specified by:
pushConnectionForConfigDB
in interface OXAdminPoolInterface
- Throws:
PoolException
pushConnectionForContext
public boolean pushConnectionForContext(int contextId,
Connection con)
throws PoolException
- Specified by:
pushConnectionForContext
in interface OXAdminPoolInterface
- Throws:
PoolException
pushConnectionForContextNoTimeout
public boolean pushConnectionForContextNoTimeout(int contextId,
Connection con)
throws PoolException
- Specified by:
pushConnectionForContextNoTimeout
in interface OXAdminPoolInterface
- Throws:
PoolException