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:
EventListener, ServletContextListener

public class GrailsContextLoaderListener
extends ContextLoaderListener

Extends the Spring default ContextLoader to load GrailsApplicationContext

Author:
Graeme Rocher

Field Summary
 
Fields inherited from class org.springframework.web.context.ContextLoader
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM
 
Constructor Summary
GrailsContextLoaderListener()
           
 
Method Summary
protected  ContextLoader createContextLoader()
           
 
Methods inherited from class org.springframework.web.context.ContextLoaderListener
contextDestroyed, contextInitialized, getContextLoader
 
Methods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, 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 ContextLoader createContextLoader()
Overrides:
createContextLoader in class ContextLoaderListener


Copyright (c) 2005-2009 The Grails project