Class DBCPUnWrapper
Object
DBCPUnWrapper
- All Implemented Interfaces:
UnWrapper
Unwraps DBCP managed connections
- Author:
- Andrea Aime - TOPP
-
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
-
DBCPUnWrapper
public DBCPUnWrapper()
-
-
Method Details
-
canUnwrap
Description copied from interface:UnWrapperReturns true if this unwrapper knows how to unwrap the specified connection -
unwrap
Description copied from interface:UnWrapperReturns the unwrapped connection, of throwsIllegalArgumentExceptionif the passedConnectionis not supported (UnWrapper.canUnwrap(Connection)returns false}. -
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 statement, of throwsIllegalArgumentExceptionif the passedStatementis not supported (UnWrapper.canUnwrap(Statement)returns false}.
-