Annotation Interface ExtractorBinding


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented public @interface ExtractorBinding
Specifies that an annotation type is a ValueExtractor binding type.
 @Inherited
 @ExtractorBinding
 @Target({TYPE, METHOD, CONSTRUCTOR})
 @Retention(RUNTIME)
 public @interface CustomerNameExtractor {}
 

ValueExtractor bindings are intermediate annotations that may be used to associate ValueExtractors with target beans.

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

Since:
3.0
Author:
Gunnar Hillert