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