@FunctionalInterface public interface VisitListenerProvider
VisitListener instances.
In order to facilitate the lifecycle management of VisitListener
instances that are provided to a jOOQ Configuration, clients can
implement this API. To jOOQ, it is thus irrelevant, if execute listeners are
stateful or stateless, local to a single record or record manipulation, or
global to an application.
VisitListener,
Configuration| Modifier and Type | Method and Description |
|---|---|
VisitListener |
provide()
Provide a
VisitListener instance. |
VisitListener provide()
VisitListener instance.
Implementations are free to choose whether this method returns new instances at every call or whether the same instance is returned repetitively.
A VisitListener shall be provided exactly once per
Context traversal, i.e. per RenderContext or
BindContext.
VisitListener instance.VisitListener,
VisitContext,
DefaultVisitListenerProviderCopyright © 2017. All Rights Reserved.