Interface PooledConnectionDecorator

  • All Known Implementing Classes:
    ValidatePooledConnectionDecorator

    public interface PooledConnectionDecorator
    Decorator on all created PooledConnection instances.
    Author:
    Daniel Sagenschneider
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.sql.PooledConnection decorate​(javax.sql.PooledConnection connection)
      Allows decorating the PooledConnection.
    • Method Detail

      • decorate

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