org.skife.jdbi.unstable.decorator
Interface HandleDecorator
- All Superinterfaces:
- Unstable
public interface HandleDecorator
- extends Unstable
Used to decorate Handle
instances obtained from a DBI instance.
The builder will be instantiated once per DBI, and the decorate(..) called
for each handle opened.
decorate
Handle decorate(IDBI dbi,
Handle base)
- Called when a handle is created
- Parameters:
dbi
- The IDBI
instance the handle is created frombase
- the Handle
being decorated
- Returns:
- decorated handle