본문 바로가기

HJW's IT Blog

검색하기
HJW's IT Blog
프로필사진 kiki1875

  • 분류 전체보기 (179)
    • 개발 개념 (10)
    • NestJS (0)
    • 컴퓨터 네트워크 (19)
    • 알고리즘 (15)
    • OS (14)
    • Algorithm (41)
    • Database (6)
    • WEB (0)
    • 정보보호 (8)
    • Spring (20)
    • Java (10)
    • AWS (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2024/11   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Tags
  • 일급 객체
  • Dependency Injection
  • java
  • Spring
  • Volatile
  • Google OAuth
  • synchronized
  • spring security
  • lombok
  • factory
  • OAuth 2.0
  • 일급 컬렉션
  • builder
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바