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:
- 1.0
- Author:
- Jonathan Knight
-
Method Summary
-
Method Details
-
create
Create aMapEventTransformerinstance.- Parameters:
annotation- theAnnotationthat defines the MapEventTransformer- Returns:
- a
MapEventTransformerinstance
-