- Application 의 스프링 빈 객체들을 생성 및 관리하는 곳
- 별도의 설정을 하지 않으면 싱글톤으로 관리된다.
https://scshim.tistory.com/32
- ClassPathXmlApplicationContext : ClassPath에 위치한 xml 파일을 읽어 설정 정보를 로딩, root로부터 경로를 지정함
- FileSystemXmlApplicationContext : 파일 경로로 지정된 곳의 xml을 읽어 설정 정보를 로딩
- XmlWebApplicationContext : 웹 어플리케이션에 위치한 곳에서 xml파일을 읽어 설정 정보를 로딩
- AnnotationConfigApplicationContext : @Configuration 어노테이션이 붙은 클래스를 이용하여 설정 정보로 로딩
https://programming-workspace.tistory.com/21