org.jboss.jca.adapters.jdbc.jdk6
Class WrappedConnectionJDK6

java.lang.Object
  extended by org.jboss.jca.adapters.jdbc.JBossWrapper
      extended by org.jboss.jca.adapters.jdbc.WrappedConnection
          extended by org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6
All Implemented Interfaces:
Serializable, Connection, Wrapper

public class WrappedConnectionJDK6
extends WrappedConnection

WrappedConnectionJDK6.

Version:
$Revision: 85945 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.jca.adapters.jdbc.WrappedConnection
jndiName, spy, spyLogger
 
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
Constructor Summary
WrappedConnectionJDK6(BaseWrapperManagedConnection mc, boolean spy, String jndiName)
          Create a new WrappedConnectionJDK6.
 
Method Summary
protected  WrappedCallableStatement wrapCallableStatement(CallableStatement statement, boolean spy, String jndiName)
          Wrap callable statement
protected  WrappedPreparedStatement wrapPreparedStatement(PreparedStatement statement, boolean spy, String jndiName)
          Wrap prepared statement
protected  WrappedStatement wrapStatement(Statement statement, boolean spy, String jndiName)
          Wrap statement
 
Methods inherited from class org.jboss.jca.adapters.jdbc.WrappedConnection
checkException, checkStatus, checkTransaction, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getDataSource, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getUnderlyingConnection, getWarnings, getWrappedObject, getXAResource, isClosed, isReadOnly, isValid, isXA, lock, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setDataSource, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, unlock
 
Methods inherited from class org.jboss.jca.adapters.jdbc.JBossWrapper
isWrapperFor, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

WrappedConnectionJDK6

public WrappedConnectionJDK6(BaseWrapperManagedConnection mc,
                             boolean spy,
                             String jndiName)
Create a new WrappedConnectionJDK6.

Parameters:
mc - the managed connection
spy - The spy value
jndiName - The jndi name
Method Detail

wrapStatement

protected WrappedStatement wrapStatement(Statement statement,
                                         boolean spy,
                                         String jndiName)
Wrap statement

Specified by:
wrapStatement in class WrappedConnection
Parameters:
statement - The statement
spy - The spy value
jndiName - The jndi name
Returns:
The result

wrapPreparedStatement

protected WrappedPreparedStatement wrapPreparedStatement(PreparedStatement statement,
                                                         boolean spy,
                                                         String jndiName)
Wrap prepared statement

Specified by:
wrapPreparedStatement in class WrappedConnection
Parameters:
statement - The statement
spy - The spy value
jndiName - The jndi name
Returns:
The result

wrapCallableStatement

protected WrappedCallableStatement wrapCallableStatement(CallableStatement statement,
                                                         boolean spy,
                                                         String jndiName)
Wrap callable statement

Specified by:
wrapCallableStatement in class WrappedConnection
Parameters:
statement - The statement
spy - The spy value
jndiName - The jndi name
Returns:
The result


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