com.fatwire.gst.foundation.groovy.context
Class GroovyWebContext
java.lang.Object
com.fatwire.gst.foundation.controller.support.WebAppContext
com.fatwire.gst.foundation.controller.action.support.DefaultWebAppContext
com.fatwire.gst.foundation.groovy.context.GroovyWebContext
- All Implemented Interfaces:
- FactoryProducer, AppContext
public class GroovyWebContext
- extends DefaultWebAppContext
WebAppContext that is using Groovy to load Actions.
- Since:
- 11 mei 2012
- Author:
- Dolf Dijkstra
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyWebContext
public GroovyWebContext(javax.servlet.ServletContext context,
AppContext app)
- This constructor is needed for the
WebAppContextLoader
.
- Parameters:
context
- app
-
createActionLocator
public ActionLocator createActionLocator()
- Overrides:
createActionLocator
in class DefaultWebAppContext
getGroovyLoader
protected GroovyLoader getGroovyLoader()
- Returns:
- GroovyLoader that looks at elementcatalog and /WEB-INF/gsf-groovy for groovy classes.
getRootActionLocator
protected ActionLocator getRootActionLocator(Injector injector)
getFactory
public Factory getFactory(COM.FutureTense.Interfaces.ICS ics)
- Description copied from interface:
FactoryProducer
- Method to produce a
Factory
to access services that need access to ICS
- Specified by:
getFactory
in interface FactoryProducer
- Overrides:
getFactory
in class DefaultWebAppContext
- Returns:
- the Factory to create services that need access to ics.
getClassLoader
public ClassLoader getClassLoader()
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.