Package org.geotools.jdbc
Class LifecycleConnectionUnWrapper
Object
LifecycleConnectionUnWrapper
- All Implemented Interfaces:
UnWrapper
Un-wraps the
LifecycleConnection
instances- Author:
- Andrea Aime - GeoSolutions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canUnwrap
(Connection conn) Returns true if this unwrapper knows how to unwrap the specified connectionboolean
Returns tru if this unwrapper knows how to unwrap the specified statementunwrap
(Connection conn) Returns the unwrapped connection, of throwsIllegalArgumentException
if the passedConnection
is not supported (UnWrapper.canUnwrap(Connection)
returns false}.Returns the unwrapped statement, of throwsIllegalArgumentException
if the passedStatement
is not supported (UnWrapper.canUnwrap(Statement)
returns false}.
-
Constructor Details
-
LifecycleConnectionUnWrapper
public LifecycleConnectionUnWrapper()
-
-
Method Details
-
canUnwrap
Description copied from interface:UnWrapper
Returns true if this unwrapper knows how to unwrap the specified connection -
canUnwrap
Description copied from interface:UnWrapper
Returns tru if this unwrapper knows how to unwrap the specified statement -
unwrap
Description copied from interface:UnWrapper
Returns the unwrapped connection, of throwsIllegalArgumentException
if the passedConnection
is not supported (UnWrapper.canUnwrap(Connection)
returns false}. -
unwrap
Description copied from interface:UnWrapper
Returns the unwrapped statement, of throwsIllegalArgumentException
if the passedStatement
is not supported (UnWrapper.canUnwrap(Statement)
returns false}.
-