Package com.oracle.coherence.cdi
Class ExtractorProducer
java.lang.Object
com.oracle.coherence.cdi.ExtractorProducer
A CDI bean that produces
ValueExtractor
instances using ExtractorFactory
beans annotated with ExtractorBinding
annotations.- Since:
- 20.06
- Author:
- Jonathan Knight 2019.10.25
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A {ExtractorFactory
that producesMultiExtractor
containingValueExtractor
instances produced from the annotations contained in aChainedExtractor.Extractors
annotation.static class
A {ExtractorFactory
that produces chainedValueExtractor
instances for an array of property or method names.static class
A {ExtractorFactory
that producesMultiExtractor
containingValueExtractor
instances produced from the annotations contained in aPofExtractor.Extractors
annotation.static class
A {ExtractorFactory
that producesValueExtractor
instances for a given POF index or property path.static class
A {ExtractorFactory
that producesMultiExtractor
containingValueExtractor
instances produced from the annotations contained in aPropertyExtractor.Extractors
annotation.static class
A {ExtractorFactory
that producesValueExtractor
instances for a given property or method name. -
Method Summary
Modifier and TypeMethodDescription<T,
E> ValueExtractor <T, E> getValueExtractor
(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint) Create an instance of aValueExtractor
based on injection point metadata.
-
Method Details
-
getValueExtractor
@Produces public <T,E> ValueExtractor<T,E> getValueExtractor(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint) Create an instance of aValueExtractor
based on injection point metadata.- Type Parameters:
T
- the type of object to extract the value fromE
- the type of extracted value- Parameters:
injectionPoint
- the injection point to create an extractor for- Returns:
- an instance of a
ValueExtractor
-