Home  >  Forum  >  Spring
Post New Query

Disadvantages of Autowire in Spring

joined on
July 17,2014
Asked on July 17,2014
What are the disadvantages of Autowire in Spring?
joined on
October 10,2013
Replied on July 18,2014

Basic Limitations are:

1. Explicit dependencies in property and constructor-arg settings always override autowiring.

2. Autowiring is less exact than explicit wiring.

3. Wiring information may not be available to tools that may generate documentation from a Spring container.

4. Multiple bean definitions within the container may match the type specified by the setter method or constructor argument to be autowired.

Find Limitations and disadvantages of autowiring in below link spring link


Write Answer

Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us