spring bean automatic assembly what way? Assembled in several ways spring Bean brief

Spring container is responsible for creating applications simultaneously bean to coordinate the relationship between these objects by ID. As developers, we need to tell Spring which bean to be created and how it fitted together.

bean spring fitted in two ways

  • Implicit bean discovery mechanism and automatic assembly
  • A display disposed in the java code or XML

 

Reference links: ways spring Bean assembled brief

Guess you like

Origin www.cnblogs.com/jxxblogs/p/12147464.html