Interface FilterFactory<A extends Annotation,T>

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

public interface FilterFactory<A extends 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.

Since:
1.0
Author:
Jonathan Knight
  • Method Summary

    Modifier and Type
    Method
    Description
    com.tangosol.util.Filter<T>
    create(A annotation)
    Create a Filter instance.
  • Method Details

    • create

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