Question: 2 . In Spring's XML - based configuration, how is setter injection implemented? Using the tag with the name attribute matching the setter method, and
In Spring's XMLbased configuration, how is setter injection implemented?
Using the tag with the name attribute matching the setter method, and the ref attribute to identify the bean to be injected
Using the tag with the name attribute matching the setter method, and the ref attribute to identify the bean to be injected
Using the tag with the name attribute matching the setter method, and the ref attribute to identify the bean to be injected
Setter injection cannot be implemented in XMLbased configuration
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
