@FunctionalInterface
public interface ExecuteListenerProvider
ExecuteListener
instances.
In order to facilitate the lifecycle management of
ExecuteListener
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 an
execution, or global to an application.
ExecuteListener
,
Configuration
Modifier and Type | Method and Description |
---|---|
ExecuteListener |
provide()
Provide an
ExecuteListener instance. |
ExecuteListener provide()
ExecuteListener
instance.
Implementations are free to choose whether this method returns new instances at every call or whether the same instance is returned repetitively.
An ExecuteListener
shall be provided exactly once per query
execution lifecycle, i.e. per ExecuteContext
.
ExecuteListener
instance.ExecuteListener
,
ExecuteContext
,
DefaultExecuteListenerProvider
Copyright © 2018. All Rights Reserved.