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.


Method Summary
 Handle decorate(IDBI dbi, Handle base)
          Called when a handle is created
 

Method Detail

decorate

Handle decorate(IDBI dbi,
                Handle base)
Called when a handle is created

Parameters:
dbi - The IDBI instance the handle is created from
base - the Handle being decorated
Returns:
decorated handle