Spring Setter Injection, Dependency In The Form Of Collections
While creating spring bean (pojo class), the bean class can use any of the following 4 types of collections as dependency, along with some primitives and objects like previous sessions..
Spring supports these 4 collections only as the dependencies.
Except above 4 types of collections, if the spring bean class uses any other type of collection as dependency, then spring container doesn’t inject that collection object to the spring bean, in this case spring programmer is responsible for injection that collection object manually.
Let us see how to use one by one collection property with syntax
You Might Also Like
::. About the Author .::