What are the limitations with autowiring?

 Limitations of autowiring are: Overriding possibility: You can still specify dependencies using and settings which will always override autowiring. Primitive data types: You cannot autowire so-called simple properties such as primitives, Strings, and Classes. Confusing nature: Autowiring is less exact than explicit wiring, so if possible prefer using explicit wiring.

No comments:

Post a Comment