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
- 기본
- Spring
- 예외처리
- paint
- 배열
- Android
- 어노테이션
- 메서드
- JSP
- JavaScript
- 안드로이드
- Eclips
- Graphic
- 오버로딩
- mybatis
- OGNL
- layout
- HTML
- 메소드
- Menu
- struts2
- AWT
- oracle
- 이클립스
- 에러페이지
- Java
- 생성자
- 전화걸기
- 클래스
- 국제화
Archives
- Today
- Total
목록@PostConstruct (1)
note
Spring @PostConstruct / @PreDestroy 어노테이션과 라이프 사이클
[JSP/Spring] - Spring @Resource 어노테이션 이전 게시물과 연관 있습니다 실행 화면(Main05.java) init 메소드 동작 close 메소드 동작 기존 ApplicationContext context = new ClassPathXmlApplicationContext(configLocations); AbstractApplicationContext context = new ClassPathXmlApplicationContext(configLocations); 추가 context.registerShutdownHook(); 작업이 끝난후 메모리 정리 라이프 사이클을 만들 수 있지만 많이 사용하는 방법은 아님 applicationContext.xml HomeController2.jav..
JSP/Spring
2012. 3. 2. 10:32