org.rosenvold.spring.convention
Class ConventionContextLoaderListener

java.lang.Object
  extended by org.springframework.web.context.ContextLoader
      extended by org.springframework.web.context.ContextLoaderListener
          extended by org.rosenvold.spring.convention.ConventionContextLoaderListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class ConventionContextLoaderListener
extends org.springframework.web.context.ContextLoaderListener

Author:
Kristian Rosenvold

Field Summary
 
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
 
Constructor Summary
ConventionContextLoaderListener()
           
 
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
 

Constructor Detail

ConventionContextLoaderListener

public ConventionContextLoaderListener()
Method Detail

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.