Package org.apache.openjpa.lib.jdbc
Interface ConnectionDecorator
-
- All Known Implementing Classes:
ConfiguringConnectionDecorator,JDBCEventConnectionDecorator,LoggingConnectionDecorator
public interface ConnectionDecoratorA connection decorator can wrapConnections before they are returned to the user to add functionality.- Author:
- Abe White
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connectiondecorate(Connection conn)Decorate the given connection if desired.
-
-
-
Method Detail
-
decorate
Connection decorate(Connection conn) throws SQLException
Decorate the given connection if desired.- Throws:
SQLException
-
-