Package org.geotools.jdbc
Class LifecycleConnectionUnWrapper
- Object
-
- LifecycleConnectionUnWrapper
-
-
Constructor Summary
Constructors Constructor Description LifecycleConnectionUnWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUnwrap(Connection conn)
Returns true if this unwrapper knows how to unwrap the specified connectionboolean
canUnwrap(Statement st)
Returns tru if this unwrapper knows how to unwrap the specified statementConnection
unwrap(Connection conn)
Returns the unwrapped connection, of throwsIllegalArgumentException
if the passedConnection
is not supported (UnWrapper.canUnwrap(Connection)
returns false}.Statement
unwrap(Statement statement)
Returns the unwrapped statement, of throwsIllegalArgumentException
if the passedStatement
is not supported (UnWrapper.canUnwrap(Statement)
returns false}.
-
-
-
Method Detail
-
canUnwrap
public boolean canUnwrap(Connection conn)
Description copied from interface:UnWrapper
Returns true if this unwrapper knows how to unwrap the specified connection
-
canUnwrap
public boolean canUnwrap(Statement st)
Description copied from interface:UnWrapper
Returns tru if this unwrapper knows how to unwrap the specified statement
-
unwrap
public Connection unwrap(Connection conn)
Description copied from interface:UnWrapper
Returns the unwrapped connection, of throwsIllegalArgumentException
if the passedConnection
is not supported (UnWrapper.canUnwrap(Connection)
returns false}.
-
unwrap
public Statement unwrap(Statement statement)
Description copied from interface:UnWrapper
Returns the unwrapped statement, of throwsIllegalArgumentException
if the passedStatement
is not supported (UnWrapper.canUnwrap(Statement)
returns false}.
-
-