Interface ExtractorFactory<A extends java.lang.annotation.Annotation,​T,​E>

  • Type Parameters:
    A - the annotation type that the factory supports
    T - the type of the value to extract from
    E - the type of value that will be extracted

    public interface ExtractorFactory<A extends java.lang.annotation.Annotation,​T,​E>
    A factory that produces instances of ValueExtractor for a given Annotation.

    A ExtractorFactory is normally a CDI bean that is also annotated with a ExtractorBinding annotation. Whenever an injection point annotated with the corresponding ExtractorBinding annotation is encountered the ExtractorFactory bean's create(Annotation) method is called to create an instance of a ValueExtractor.

    Jonathan Knight
    • Method Detail

      • create

        com.tangosol.util.ValueExtractor<T,​E> create​(A annotation)
        Create a ValueExtractor instance.
        annotation - the Annotation that defines the ValueExtractor
        a ValueExtractor instance