HSQL(in-memoryDB) 사용시 Context 설정은 아래와 같다. HSQL 을 빈으로 등록하기 위해 를 사용한다. HSQL 은 inMemory 방식으로 어플리케이션이 시작되면 메모리에 새롭게 생성되고 반대로 어플리케이션이 종료되면 메모리에서 제거된다. Maven Dependency는 아래와 같다. org.hsqldb hsqldb 2.3.2 'http://hsqldb.org/doc/guide/' Spring DataSource 설정은 아래와 같음 (eGovframework)
ContextLoaderListener()Create a new ContextLoaderListener that will create a web application context based on the "contextClass" and "contextConfigLocation" servlet context-params. ContextLoaderListener(WebApplicationContext context)Create a new ContextLoaderListener with the given application context. Method Summary1. contextDestroyed(ServletContextEvent event)Close the root web application con..
Spring Bean 생성과 소멸시 Method 를 정의 할 수 있다. 기본 Xml 설정파일을 통해 init-method 와 destory-method 구성을 할 수 있다. 그들은 Spring Bean life Cycle 의 일부 이다. 초기화 Method 는 Bean 생성 직후 호출되어지며 소멸 Method 는 killing the Bean 전에 호출된다. 하지만 열거한 interface 를 통한 Callback Method 를 사용하는것은 권장하지 않는다. 대신 Xml 설정을 통해 구현하는데 훨신 유연하기 때문이다. :https://github.com/pratikdimble/Spring_Life_Cycle_Init_Destroy_Using_Annotation :http://nrhan.tistory.c..
- Total
- Today
- Yesterday
- 전자정부프레임워크
- In-Memory
- Jad
- configration
- HTMLTagFilter
- hsqldb
- Decompile
- embedded-database
- 표준프레임워크
- destory-method
- jadclise
- 3.7.0
- egov
- RequestParam
- plug-in
- HSQL
- init-method
- spring
- annotation
- ContextLoaderListener
- Eclipse
- egovframework
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |