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

  • Type Parameters:
    A - the annotation type that the factory supports
    T - the type of value being filtered

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

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

    Jonathan Knight
    • Method Detail

      • create

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