Package net.officefloor.jdbc.pool
Interface ThreadLocalJdbcConnectionPool.PooledConnectionWrapperFactory
-
- Enclosing class:
- ThreadLocalJdbcConnectionPool
public static interface ThreadLocalJdbcConnectionPool.PooledConnectionWrapperFactory
Factory to create wrapper for thePooledConnection
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.sql.Connection
wrap(ThreadLocalJdbcConnectionPool.PooledConnectionContext context)
Create theConnection
wrapper.
-
-
-
Method Detail
-
wrap
java.sql.Connection wrap(ThreadLocalJdbcConnectionPool.PooledConnectionContext context) throws java.lang.Exception
Create theConnection
wrapper.- Parameters:
context
-ThreadLocalJdbcConnectionPool.PooledConnectionContext
.- Returns:
- Wrapped
Connection
. - Throws:
java.lang.Exception
- If fails to wrap theConnection
.
-
-