http://forum.spring.io/forum/spring-projects/container/40092-autowired-and-resource-difference
@Autowired Bean 타입기준
@Resource Bean 이름 기준
see chapter 3.11.1 of Reference Doc:
http://docs.spring.io/spring/docs/2.5.x/reference/beans.html#beans-autowired-annotation
and chapetr 3.11.3 of Reference Doc:
http://docs.spring.io/spring/docs/2.5.x/reference/beans.html#beans-resource-annotation
'Programing > Spring' 카테고리의 다른 글
Spring에서 Json을 파라메터로 넘겼을 때 어떻게 객체로 받을 수 있을까? (0) | 2017.07.21 |
---|---|
Method 주석에 @SQL은 무엇일까? DocletSqlMapClientFactoryBean이란? (0) | 2017.05.29 |
MyBatis 를 이용하여 executeBatch 처리하기 (0) | 2016.06.22 |
Spring Bean 생성 및 주입 방법 (0) | 2015.06.23 |
AspectJ를 통한 Spring-AOP 설정 (0) | 2015.03.05 |