Hands-On High Performance with Spring 5
上QQ阅读APP看书,第一时间看更新

Types of DI patterns

In Spring, the following types of DI are performed:

  • Constructor-based DI
  • Setter-based DI
  • Field-based DI

We will learn more about these in the next sections.