티스토리 뷰
org.springframework.web.context.ContextLoaderListener
노랑파자마 2018. 4. 2. 16:38ContextLoaderListener()
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 Summary
1. contextDestroyed(ServletContextEvent event)
Close the root web application context.
2. contextInitialized(ServletContextEvent event)
Initialize the root web application context.
Detail
Public ContextLoaderListener()
Create a new ContextLoaderListener that will create a web application context based on the "contextClass" and "contextConfigLocation" servlet context-params. See ContextLoader superclass documentation for details on default values for each.
This constructor is typically used when declaring ContextLoaderListener as a <listener> within web.xml, where a no-arg constructor is required.
The created application context will be registered into the ServletContext under the attribute name WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE and the Spring application context will be closed when the contextDestroyed(javax.servlet.ServletContextEvent) lifecycle method is invoked on this listener.
etc: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/context/ContextLoaderListener.html
'eGovframe > eGov-frame classes' 카테고리의 다른 글
Spring 내장 HSQL DB (0) | 2018.04.05 |
---|---|
egovframework.rte.ptl.mvc.filter.HTMLTagFilter (0) | 2018.04.02 |
- Total
- Today
- Yesterday
- egovframework
- HTMLTagFilter
- HSQL
- jadclise
- RequestParam
- 표준프레임워크
- 3.7.0
- plug-in
- Jad
- embedded-database
- ContextLoaderListener
- egov
- init-method
- In-Memory
- destory-method
- spring
- hsqldb
- annotation
- 전자정부프레임워크
- configration
- Decompile
- Eclipse
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |