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 TypeMethodDescriptionbooleancanUnwrap(Connection conn) Returns true if this unwrapper knows how to unwrap the specified connectionbooleanReturns tru if this unwrapper knows how to unwrap the specified statementunwrap(Connection conn) Returns the unwrapped connection, of throwsIllegalArgumentExceptionif the passedConnectionis not supported (UnWrapper.canUnwrap(Connection)returns false}.Returns the unwrapped statement, of throwsIllegalArgumentExceptionif the passedStatementis not supported (UnWrapper.canUnwrap(Statement)returns false}.
-
Constructor Details
-
LifecycleConnectionUnWrapper
public LifecycleConnectionUnWrapper()
-
-
Method Details
-
canUnwrap
Description copied from interface:UnWrapperReturns true if this unwrapper knows how to unwrap the specified connection -
canUnwrap
Description copied from interface:UnWrapperReturns tru if this unwrapper knows how to unwrap the specified statement -
unwrap
Description copied from interface:UnWrapperReturns the unwrapped connection, of throwsIllegalArgumentExceptionif the passedConnectionis not supported (UnWrapper.canUnwrap(Connection)returns false}. -
unwrap
Description copied from interface:UnWrapperReturns the unwrapped statement, of throwsIllegalArgumentExceptionif the passedStatementis not supported (UnWrapper.canUnwrap(Statement)returns false}.
-