Annotation Interface ConstructorBinding
@Target({CONSTRUCTOR,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
public @interface ConstructorBinding
Annotation that can be used to indicate which constructor to use when binding
configuration properties using constructor arguments rather than by calling setters. A
single parameterized constructor implicitly indicates that constructor binding should
be used unless the constructor is annotated with
@Autowired
.- Since:
- 3.0.0
- Author:
- Phillip Webb