org.jboss.jca.adapters.jdbc
Interface WrappedConnectionFactory

All Known Implementing Classes:
WrappedConnectionFactoryJDK6, WrappedConnectionFactoryJDK7

public interface WrappedConnectionFactory

WrappedConnectionFactory.

Version:
$Revision: 85945 $
Author:
Adrian Brock, Jesper Pedersen

Method Summary
 CachedCallableStatement createCachedCallableStatement(CallableStatement cs)
          Create a cached callable statement
 CachedPreparedStatement createCachedPreparedStatement(PreparedStatement ps)
          Create a cached prepared statement
 WrappedConnection createWrappedConnection(BaseWrapperManagedConnection mc, boolean spy, String jndiName)
          Create a wrapped connection
 

Method Detail

createWrappedConnection

WrappedConnection createWrappedConnection(BaseWrapperManagedConnection mc,
                                          boolean spy,
                                          String jndiName)
Create a wrapped connection

Parameters:
mc - The managed connection
spy - The spy value
jndiName - The jndi name
Returns:
The wrapped connection

createCachedPreparedStatement

CachedPreparedStatement createCachedPreparedStatement(PreparedStatement ps)
                                                      throws SQLException
Create a cached prepared statement

Parameters:
ps - The prepared statement
Returns:
The cached prepared statement
Throws:
SQLException - Thrown if an error occurs

createCachedCallableStatement

CachedCallableStatement createCachedCallableStatement(CallableStatement cs)
                                                      throws SQLException
Create a cached callable statement

Parameters:
cs - The callable statement
Returns:
The cached callable statement
Throws:
SQLException - Thrown if an error occurs


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)