Package org.jboss.jca.adapters.jdbc.jdk7
Class WrappedConnectionFactoryJDK7
- java.lang.Object
-
- org.jboss.jca.adapters.jdbc.jdk7.WrappedConnectionFactoryJDK7
-
- All Implemented Interfaces:
WrappedConnectionFactory
public class WrappedConnectionFactoryJDK7 extends Object implements WrappedConnectionFactory
WrappedConnectionFactoryJDK7- Author:
- Jesper Pedersen
-
-
Constructor Summary
Constructors Constructor Description WrappedConnectionFactoryJDK7()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachedCallableStatementcreateCachedCallableStatement(CallableStatement cs)Create a cached callable statementCachedPreparedStatementcreateCachedPreparedStatement(PreparedStatement ps)Create a cached prepared statementWrappedConnectioncreateWrappedConnection(BaseWrapperManagedConnection mc, boolean spy, String jndiName, boolean doLocking, ClassLoaderPlugin clp)Wrap connection
-
-
-
Method Detail
-
createWrappedConnection
public WrappedConnection createWrappedConnection(BaseWrapperManagedConnection mc, boolean spy, String jndiName, boolean doLocking, ClassLoaderPlugin clp)
Wrap connection- Specified by:
createWrappedConnectionin interfaceWrappedConnectionFactory- Parameters:
mc- The managed connectionspy- The spy valuejndiName- The jndi namedoLocking- Do locking- Returns:
- The result
-
createCachedPreparedStatement
public CachedPreparedStatement createCachedPreparedStatement(PreparedStatement ps) throws SQLException
Create a cached prepared statement- Specified by:
createCachedPreparedStatementin interfaceWrappedConnectionFactory- Parameters:
ps- The prepared statement- Returns:
- The cached prepared statement
- Throws:
SQLException- Thrown if an error occurs
-
createCachedCallableStatement
public CachedCallableStatement createCachedCallableStatement(CallableStatement cs) throws SQLException
Create a cached callable statement- Specified by:
createCachedCallableStatementin interfaceWrappedConnectionFactory- Parameters:
cs- The callable statement- Returns:
- The cached callable statement
- Throws:
SQLException- Thrown if an error occurs
-
-