|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDBCPUnWrapper
public class DBCPUnWrapper
Unwraps DBCP managed connections
modules/library/jdbc (gt-jdbc.jar)
Constructor Summary | |
---|---|
DBCPUnWrapper()
|
Method Summary | |
---|---|
boolean |
canUnwrap(Connection conn)
Returns true if this unwrapper knows how to unwrap the specified connection |
boolean |
canUnwrap(Statement st)
Returns tru if this unwrapper knows how to unwrap the specified statement |
Connection |
unwrap(Connection conn)
Returns the unwrapped connection, of throws IllegalArgumentException if the passed
Connection is not supported (UnWrapper.canUnwrap(Connection) returns false}. |
Statement |
unwrap(Statement statement)
Returns the unwrapped statement, of throws IllegalArgumentException if the passed
Statement is not supported (UnWrapper.canUnwrap(Statement) returns false}. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBCPUnWrapper()
Method Detail |
---|
public boolean canUnwrap(Connection conn)
UnWrapper
canUnwrap
in interface UnWrapper
public Connection unwrap(Connection conn)
UnWrapper
IllegalArgumentException
if the passed
Connection
is not supported (UnWrapper.canUnwrap(Connection)
returns false}.
unwrap
in interface UnWrapper
public boolean canUnwrap(Statement st)
UnWrapper
canUnwrap
in interface UnWrapper
public Statement unwrap(Statement statement)
UnWrapper
IllegalArgumentException
if the passed
Statement
is not supported (UnWrapper.canUnwrap(Statement)
returns false}.
unwrap
in interface UnWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |