Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- db
- Servlet
- 김영한
- springdatajpa
- JDBC
- Spring Boot
- 스프링 핵심 기능
- jpa
- SpringBoot
- 백준
- Thymeleaf
- 스프링 핵심 원리
- 알고리즘
- Proxy
- java
- 스프링
- Android
- 인프런
- transaction
- 그리디
- Exception
- AOP
- QueryDSL
- kotlin
- 자바
- spring
- http
- JPQL
- pointcut
- Greedy
Archives
- Today
- Total
목록인터페이스 (1)
개발자되기 프로젝트
인터페이스 : InitializingBean, DisposableBean
1. InitializingBean(초기화) 의존성 주입 완료후 초기화 메서드 제공 afterPropertiesSet() : 의존관계 주입 완료후 실행됨. 2. DisposableBean(소멸) 빈 소멸되기 직전 실행하는 메서드 제공 destroy() 3. Test public class NetworkClient implements InitializingBean, DisposableBean { private String url; public NetworkClient(){ System.out.println("생성자 호출, url =" + url); } public void setUrl(String url) { this.url = url; } //서비스 시작시 호출 public void connect(){ ..
카테고리 없음
2021. 7. 30. 21:07