Package com.oracle.coherence.cdi
Class ExtractorProducer
- java.lang.Object
-
- com.oracle.coherence.cdi.ExtractorProducer
-
@ApplicationScoped public class ExtractorProducer extends Object
A CDI bean that producesValueExtractor
instances usingExtractorFactory
beans annotated withExtractorBinding
annotations.- Since:
- 20.06
- Author:
- Jonathan Knight 2019.10.25
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExtractorProducer.ChainedExtractorsSupplier
A {ExtractorFactory
that producesMultiExtractor
containingValueExtractor
instances produced from the annotations contained in aChainedExtractor.Extractors
annotation.static class
ExtractorProducer.ChainedExtractorSupplier
A {ExtractorFactory
that produces chainedValueExtractor
instances for an array of property or method names.static class
ExtractorProducer.PofExtractorsSupplier
A {ExtractorFactory
that producesMultiExtractor
containingValueExtractor
instances produced from the annotations contained in aPofExtractor.Extractors
annotation.static class
ExtractorProducer.PofExtractorSupplier
A {ExtractorFactory
that producesValueExtractor
instances for a given POF index or property path.static class
ExtractorProducer.UniversalExtractorsSupplier
A {ExtractorFactory
that producesMultiExtractor
containingValueExtractor
instances produced from the annotations contained in aPropertyExtractor.Extractors
annotation.static class
ExtractorProducer.UniversalExtractorSupplier
A {ExtractorFactory
that producesValueExtractor
instances for a given property or method name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,E>
ValueExtractor<T,E>getValueExtractor(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Create an instance of aValueExtractor
based on injection point metadata.
-
-
-
Method Detail
-
getValueExtractor
@Produces public <T,E> ValueExtractor<T,E> getValueExtractor(javax.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
-
-