org.codehaus.groovy.grails.web.context
Class GrailsContextLoaderListener

java.lang.Object
  extended by org.springframework.web.context.ContextLoader
      extended by org.springframework.web.context.ContextLoaderListener
          extended by org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

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

Extends the Spring default ContextLoader to load GrailsApplicationContext.


Field Summary
 
Fields inherited from class org.springframework.web.context.ContextLoader
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, CONTEXT_INITIALIZER_CLASSES_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM
 
Constructor Summary
GrailsContextLoaderListener()
           
 
Method Summary
protected  org.springframework.web.context.ContextLoader createContextLoader()
           
 
Methods inherited from class org.springframework.web.context.ContextLoaderListener
contextDestroyed, contextInitialized, getContextLoader
 
Methods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrailsContextLoaderListener

public GrailsContextLoaderListener()
Method Detail

createContextLoader

protected org.springframework.web.context.ContextLoader createContextLoader()
Overrides:
createContextLoader in class org.springframework.web.context.ContextLoaderListener