|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.jdbc.JBossWrapper
org.jboss.jca.adapters.jdbc.WrappedConnection
org.jboss.jca.adapters.jdbc.jdk7.WrappedConnectionJDK7
public class WrappedConnectionJDK7

WrappedConnectionJDK7.
| 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 | |
|---|---|
WrappedConnectionJDK7(BaseWrapperManagedConnection mc,
boolean spy,
String jndiName)
Create a new WrappedConnectionJDK7. |
|
| Method Summary | |
|---|---|
void |
abort(Executor executor)
|
int |
getNetworkTimeout()
|
String |
getSchema()
|
void |
setNetworkTimeout(Executor executor,
int milliseconds)
|
void |
setSchema(String schema)
|
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.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 |
|---|
public WrappedConnectionJDK7(BaseWrapperManagedConnection mc,
boolean spy,
String jndiName)
mc - the managed connectionspy - The spy valuejndiName - The jndi name| Method Detail |
|---|
protected WrappedStatement wrapStatement(Statement statement,
boolean spy,
String jndiName)
wrapStatement in class WrappedConnectionstatement - The statementspy - The spy valuejndiName - The jndi name
protected WrappedPreparedStatement wrapPreparedStatement(PreparedStatement statement,
boolean spy,
String jndiName)
wrapPreparedStatement in class WrappedConnectionstatement - The statementspy - The spy valuejndiName - The jndi name
protected WrappedCallableStatement wrapCallableStatement(CallableStatement statement,
boolean spy,
String jndiName)
wrapCallableStatement in class WrappedConnectionstatement - The statementspy - The spy valuejndiName - The jndi name
public void setSchema(String schema)
throws SQLException
SQLException
public String getSchema()
throws SQLException
SQLException
public void abort(Executor executor)
throws SQLException
SQLException
public void setNetworkTimeout(Executor executor,
int milliseconds)
throws SQLException
SQLException
public int getNetworkTimeout()
throws SQLException
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||