Application Context

Range

spring 의 DI, AOP 의 대상이 되는 bean 들은 ApplicationContext 내부의 객체들이다.

따라서 new 키워드를 쓰고 Runtime시에 spring 이 아닌 주체가 initialization 을 한 객체는 대상에서 제외된다. 당연히 @Autowired 등의 context 기반 기능이 적용되는 대상이 아니다. 그러나, 적용시키는 방법이 있긴 하다(@Configurable).

results matching ""

    No results matching ""