back/Spring Framework

@Autowired @Resource @Inject Bean 탐색 기준

펭귄대장 2020. 2. 27. 14:47

@Autowired

Type --> 이름 --> Qualifier --> fail

@Resource

이름 --> Type --> Qualifier --> fail

@Inject

Type --> Qualifier --> 이름 --> fail

 

https://engkimbs.tistory.com/682

반응형