Annotation Type ExtractorBinding
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented public @interface ExtractorBinding
Specifies that an annotation type is aValueExtractor
binding type.@Inherited @ExtractorBinding @Target({TYPE, METHOD, CONSTRUCTOR}) @Retention(RUNTIME) public @interface CustomerNameExtractor {}
ValueExtractor bindings are intermediate annotations that may be used to associate
ValueExtractor
s 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 aValueExtractor
the corresponding factory'sExtractorFactory.create(java.lang.annotation.Annotation)
method is called to produce aValueExtractor
instance.- Since:
- 3.0
- Author:
- Gunnar Hillert