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 booleancanUnwrap(Connection conn)Returns true if this unwrapper knows how to unwrap the specified connectionbooleancanUnwrap(Statement st)Returns tru if this unwrapper knows how to unwrap the specified statementConnectionunwrap(Connection conn)Returns the unwrapped connection, of throwsIllegalArgumentExceptionif the passedConnectionis not supported (UnWrapper.canUnwrap(Connection)returns false}.Statementunwrap(Statement statement)Returns the unwrapped statement, of throwsIllegalArgumentExceptionif the passedStatementis not supported (UnWrapper.canUnwrap(Statement)returns false}.
-
-
-
Method Detail
-
canUnwrap
public boolean canUnwrap(Connection conn)
Description copied from interface:UnWrapperReturns true if this unwrapper knows how to unwrap the specified connection
-
canUnwrap
public boolean canUnwrap(Statement st)
Description copied from interface:UnWrapperReturns tru if this unwrapper knows how to unwrap the specified statement
-
unwrap
public Connection unwrap(Connection conn)
Description copied from interface:UnWrapperReturns the unwrapped connection, of throwsIllegalArgumentExceptionif the passedConnectionis not supported (UnWrapper.canUnwrap(Connection)returns false}.
-
unwrap
public Statement unwrap(Statement statement)
Description copied from interface:UnWrapperReturns the unwrapped statement, of throwsIllegalArgumentExceptionif the passedStatementis not supported (UnWrapper.canUnwrap(Statement)returns false}.
-
-