Spring Injection – Map
Concept Overview Sometimes, it is necessary to inject a Collection of type java.util.Map into a bean using Spring injection. e.g. A TelephoneDirectory maps the name of a person with his telephone number. This is achieved by using the map tag within the property tag in Spring configuration. The following sample program provides an overview of … Read more