Annotation Type FilterBinding


  • @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface FilterBinding
    Specifies that an annotation type is a Filter binding type.
     @Inherited
     @FilterBinding
     @Target({TYPE, METHOD, CONSTRUCTOR})
     @Retention(RUNTIME)
     public @interface CustomerNameFilter {}
     

    Filter bindings are intermediate annotations that may be used to associate Filters with target beans.

    Filter bindings are used by annotating a FilterFactory bean with the binding type annotations. Wherever the same annotation is used at an injection point that requires a Filter the corresponding factory's FilterFactory.create(java.lang.annotation.Annotation) method is called to produce a Filter instance.

    Since:
    1.0
    Author:
    Jonathan Knight