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 ofMapEventTransformer
for a givenAnnotation
.A
MapEventTransformerFactory
is normally a CDI bean that is also annotated with aMapEventTransformerBinding
annotation. Whenever an injection point annotated with the correspondingMapEventTransformerBinding
annotation is encountered theMapEventTransformerFactory
bean'screate(Annotation)
method is called to create an instance of aMapEventTransformer
.- Since:
- 20.06
- Author:
- Jonathan Knight 2020.06.16
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MapEventTransformer<K,V,U>
create(A annotation)
Create aMapEventTransformer
instance.
-
-
-
Method Detail
-
create
MapEventTransformer<K,V,U> create(A annotation)
Create aMapEventTransformer
instance.- Parameters:
annotation
- theAnnotation
that defines the MapEventTransformer- Returns:
- a
MapEventTransformer
instance
-
-