@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface FilterBinding
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.