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

2. In Spring's XML-based 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 XML-based configuration

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!