Package com.oracle.coherence.cdi
Class MapEventTransformerProducer
- java.lang.Object
-
- com.oracle.coherence.cdi.MapEventTransformerProducer
-
- All Implemented Interfaces:
AnnotatedMapListener.MapEventTransformerProducer
@ApplicationScoped public class MapEventTransformerProducer extends Object implements AnnotatedMapListener.MapEventTransformerProducer
A CDI bean that producesMapEventTransformer
instances usingMapEventTransformerFactory
beans annotated withMapEventTransformerBinding
annotations.- Since:
- 20.06
- Author:
- Jonathan Knight 2020.06.16
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K,V,U>
MapEventTransformer<K,V,U>getTransformer(javax.enterprise.inject.spi.InjectionPoint ip)
ProducesMapEventTransformer
based on injection point metadata.<K,V,U>
MapEventTransformer<K,V,U>resolve(Set<Annotation> annotations)
Produce aMapEventTransformer
instance from a set of annotations.
-
-
-
Method Detail
-
getTransformer
@Produces public <K,V,U> MapEventTransformer<K,V,U> getTransformer(javax.enterprise.inject.spi.InjectionPoint ip)
ProducesMapEventTransformer
based on injection point metadata.- Type Parameters:
K
- the type of event's keyV
- the type of event's valueU
- the type of resulting transformed value- Parameters:
ip
- an injection point- Returns:
- a
MapEventTransformer
instance
-
resolve
public <K,V,U> MapEventTransformer<K,V,U> resolve(Set<Annotation> annotations)
Description copied from interface:AnnotatedMapListener.MapEventTransformerProducer
Produce aMapEventTransformer
instance from a set of annotations.- Specified by:
resolve
in interfaceAnnotatedMapListener.MapEventTransformerProducer
- Type Parameters:
K
- the type of the event's keyV
- the type of event's valueU
- the type of resulting transformed value- Parameters:
annotations
- the annotations to use to produce theMapEventTransformer
- Returns:
- an instance of a
MapEventTransformer
-
-