org.apache.openjpa.lib.jdbc
Interface ConnectionDecorator
- All Known Implementing Classes:
- ConfiguringConnectionDecorator, JDBCEventConnectionDecorator, LoggingConnectionDecorator
public interface ConnectionDecorator
A connection decorator can wrap Connection
s before they are
returned to the user to add functionality.
- Author:
- Abe White
Method Summary |
java.sql.Connection |
decorate(java.sql.Connection conn)
Decorate the given connection if desired. |
decorate
java.sql.Connection decorate(java.sql.Connection conn)
throws java.sql.SQLException
- Decorate the given connection if desired.
- Throws:
java.sql.SQLException