Package com.oracle.coherence.cdi
Interface MapEventTransformerFactory<A extends Annotation,K,V,U>
- Type Parameters:
A
- the annotation type that the factory supportsK
- the type of the event's keyV
- the type of event's valueU
- the type of resulting transformed value
public interface MapEventTransformerFactory<A extends Annotation,K,V,U>
A factory that produces instances of
MapEventTransformer
for a given Annotation
.
A MapEventTransformerFactory
is normally a CDI
bean that is also annotated with a MapEventTransformerBinding
annotation. Whenever an injection point annotated with the corresponding
MapEventTransformerBinding
annotation is encountered the
MapEventTransformerFactory
bean's
create(Annotation)
method is called to create an instance of a MapEventTransformer
.
- Since:
- 20.06
- Author:
- Jonathan Knight 2020.06.16
-
Method Summary
-
Method Details
-
create
Create aMapEventTransformer
instance.- Parameters:
annotation
- theAnnotation
that defines the MapEventTransformer- Returns:
- a
MapEventTransformer
instance
-