일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- programmers
- Router
- 트레바리
- db
- 라우팅
- 라우팅프로토콜
- coding test
- 데이터베이스
- docker
- 코딩 테스트
- TDD
- Routing
- 코딩테스트
- Cosmos
- 프로그래머스
- 리눅스
- Python
- OSI7계층
- 스노트 룰
- 스노트
- 라우터
- 도커
- Snort Rule
- MySQL
- osi7layer
- database
- 컨테이너
- Container
- snort
- Linux
- Today
- Total
목록스프링 (2)
Simple is IT, 누구나 보고 누구나 깨닫는 IT

Life Cycle(블로그보단 아래 위키의 가독성이 더 좋다. 추천한다)https://currenjin.github.io/wiki/spring-bean/#life-cycle Spring Bean currenjin.github.ioBean이라는 녀석은 어떤 타이밍에 생성되고, 또 소멸될까?순서크게 다음과 같은 순서를 갖는다.생성자 호출 (Bean 인스턴스 생성)의존성 주입 (Properties 세팅)@PostConstruct 메서드 실행afterPropertiesSet() 메서드 실행@PreDestroy 메서드 실행destroy() 메서드 실행순서만 봐서는 와닿지 않을 것이다. 아래와 같은 예제를 생각해보자.@Servicepublic class UserService { private final User..
https://github.com/currenjin/kopring-multi-module-template GitHub - currenjin/kopring-multi-module-template: Kotlin + Spring Multi module Template(Layered Architecture 🏗️) Kotlin + Spring Multi module Template(Layered Architecture 🏗️) - GitHub - currenjin/kopring-multi-module-template: Kotlin + Spring Multi module Template(Layered Architecture 🏗️) github.com Description Write the project name an..