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 produces
MapEventTransformer
instances
using MapEventTransformerFactory
beans annotated with
MapEventTransformerBinding
annotations.- Since:
- 20.06
- Author:
- Jonathan Knight 2020.06.16
-
Method Summary
Modifier and TypeMethodDescription<K,
V, U> MapEventTransformer <K, V, U> getTransformer
(jakarta.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 Details
-
getTransformer
@Produces public <K,V, MapEventTransformer<K,U> V, getTransformerU> (jakarta.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
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
-