Merge pull request #1681 from olivergierke-patch-1
* pr/1681: Add explicit anchor to discussion about constructor VS. setter injection
This commit is contained in:
@@ -1020,6 +1020,7 @@ definitions, annotated components (i.e., classes annotated with `@Component`,
|
||||
sources are then converted internally into instances of `BeanDefinition` and used to
|
||||
load an entire Spring IoC container instance.
|
||||
|
||||
[[beans-constructor-vs-setter-injection]]
|
||||
.Constructor-based or setter-based DI?
|
||||
****
|
||||
Since you can mix constructor-based and setter-based DI, it is a good rule of thumb to
|
||||
|
||||
Reference in New Issue
Block a user