Interface ConnectionDecorator

  • All Known Implementing Classes:
    ValidateConnectionDecorator

    public interface ConnectionDecorator
    Decorator on all created Connection instances.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • decorate

        java.sql.Connection decorate​(java.sql.Connection connection)
        Allows decorating the Connection.
        Parameters:
        connection - Connection to decorate.
        Returns:
        Decorated Connection or possibly new wrapping Connection implementation.