org.rosenvold.spring.convention
Class ConventionContextLoaderListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
org.rosenvold.spring.convention.ConventionContextLoaderListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class ConventionContextLoaderListener
- extends org.springframework.web.context.ContextLoaderListener
- Author:
- Kristian Rosenvold
| Fields inherited from class org.springframework.web.context.ContextLoader |
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM |
|
Method Summary |
protected void |
customizeContext(javax.servlet.ServletContext servletContext,
org.springframework.web.context.ConfigurableWebApplicationContext applicationContext)
|
protected Class<?> |
determineContextClass(javax.servlet.ServletContext servletContext)
|
| Methods inherited from class org.springframework.web.context.ContextLoaderListener |
contextDestroyed, contextInitialized, createContextLoader, getContextLoader |
| Methods inherited from class org.springframework.web.context.ContextLoader |
closeWebApplicationContext, createWebApplicationContext, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConventionContextLoaderListener
public ConventionContextLoaderListener()
determineContextClass
protected Class<?> determineContextClass(javax.servlet.ServletContext servletContext)
- Overrides:
determineContextClass in class org.springframework.web.context.ContextLoader
customizeContext
protected void customizeContext(javax.servlet.ServletContext servletContext,
org.springframework.web.context.ConfigurableWebApplicationContext applicationContext)
- Overrides:
customizeContext in class org.springframework.web.context.ContextLoader
Copyright © 2011. All Rights Reserved.