Class ExtractorProducer

java.lang.Object
com.oracle.coherence.cdi.ExtractorProducer

@ApplicationScoped public class ExtractorProducer extends Object
A CDI bean that produces ValueExtractor instances using ExtractorFactory beans annotated with ExtractorBinding annotations.
Since:
20.06
Author:
Jonathan Knight 2019.10.25
  • Method Details

    • getValueExtractor

      @Produces public <T, E> ValueExtractor<T,E> getValueExtractor(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
      Create an instance of a ValueExtractor based on injection point metadata.
      Type Parameters:
      T - the type of object to extract the value from
      E - the type of extracted value
      Parameters:
      injectionPoint - the injection point to create an extractor for
      Returns:
      an instance of a ValueExtractor