Package net.officefloor.jdbc.decorate
Interface PooledConnectionDecorator
- All Known Implementing Classes:
ValidatePooledConnectionDecorator
public interface PooledConnectionDecorator
Decorator on all created
PooledConnection instances.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptiondecorate(PooledConnection connection) Allows decorating thePooledConnection.
-
Method Details
-
decorate
Allows decorating thePooledConnection.- Parameters:
connection-PooledConnectionto decorate.- Returns:
- Decorated
PooledConnectionor possibly new wrappingConnectionimplementation.
-