parent
4746f587ea
commit
9d7f9b5284
|
|
@ -30,7 +30,7 @@ import java.lang.annotation.Target;
|
|||
* <h3>Autowired Constructors</h3>
|
||||
* <p>Only one constructor of any given bean class may declare this annotation with the
|
||||
* {@link #required} attribute set to {@code true}, indicating <i>the</i> constructor
|
||||
* to autowire when used as a Spring bean. Furthermore, if the {@code required}
|
||||
* to be autowired when used as a Spring bean. Furthermore, if the {@code required}
|
||||
* attribute is set to {@code true}, only a single constructor may be annotated
|
||||
* with {@code @Autowired}. If multiple <i>non-required</i> constructors declare the
|
||||
* annotation, they will be considered as candidates for autowiring. The constructor
|
||||
|
|
|
|||
Loading…
Reference in New Issue