Types of Setter Injection with collections

When we are creating spring bean, the bean may use some collections as dependency having some primitives and objects. The collections are:


  1. List
  2. Set
  3. Map


Except above 3 types of collections, if the spring bean class uses any other type of collection as dependency, then spring container does not inject that collection object to the spring bean.

Our Services:

Java Training | Python Training | Machine Learning with Python Training | Deep Learning with Python Training | Data Science with Python Training | Projects

Silansoftware Pvt.Ltd, BBSR
Call to: 0674-2361252