Notice
Recent Posts
Recent Comments
Link
목록2024/11/29 (1)
HJW's IT Blog
스프링 컨테이너 생성 ApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class); ApplicationContext 를 Spring Container 라 한다. BeanFactory 도 있지만, 거의 사용하지 않는다.Spring Container는 XML 을 기반으로 만들 수 있고, 어노테이션 기반의 자바 설정 클래스로 만들 수 있다.AnnotationConfigApplicationContext 는 ApplicationContext interface 의 구현체이다.생성 과정1.Spring Container 생성 이 상태는 구성 정보가 지정되어 있지 않는 컨테이너가 생성된다. 이를 활용하기 위..
Spring
2024. 11. 29. 16:25