|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.jdbc.datasource.DBCPUnWrapper
public class DBCPUnWrapper
Unwraps DBCP managed connections
Constructor Summary | |
---|---|
DBCPUnWrapper()
|
Method Summary | |
---|---|
boolean |
canUnwrap(java.sql.Connection conn)
Returns true if this unwrapper knows how to unwrap the specified connection |
boolean |
canUnwrap(java.sql.Statement st)
Returns tru if this unwrapper knows how to unwrap the specified statement |
java.sql.Connection |
unwrap(java.sql.Connection conn)
Returns the unwrapped connection, of throws IllegalArgumentException if the passed
Connection is not supported (UnWrapper.canUnwrap(Connection) returns false}. |
java.sql.Statement |
unwrap(java.sql.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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBCPUnWrapper()
Method Detail |
---|
public boolean canUnwrap(java.sql.Connection conn)
UnWrapper
canUnwrap
in interface UnWrapper
public java.sql.Connection unwrap(java.sql.Connection conn)
UnWrapper
IllegalArgumentException
if the passed
Connection
is not supported (UnWrapper.canUnwrap(Connection)
returns false}.
unwrap
in interface UnWrapper
public boolean canUnwrap(java.sql.Statement st)
UnWrapper
canUnwrap
in interface UnWrapper
public java.sql.Statement unwrap(java.sql.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 |