org.apache.openjpa.lib.jdbc
Interface ConnectionDecorator

All Known Implementing Classes:
ConfiguringConnectionDecorator, JDBCEventConnectionDecorator, LoggingConnectionDecorator

public interface ConnectionDecorator

A connection decorator can wrap Connections before they are returned to the user to add functionality.

Author:
Abe White

Method Summary
 Connection decorate(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


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.