com.fatwire.gst.foundation.controller.action.support
Class DefaultWebAppContext
java.lang.Object
com.fatwire.gst.foundation.controller.support.WebAppContext
com.fatwire.gst.foundation.controller.action.support.DefaultWebAppContext
- All Implemented Interfaces:
- FactoryProducer, AppContext
- Direct Known Subclasses:
- GroovyWebContext
public class DefaultWebAppContext
- extends WebAppContext
- implements FactoryProducer
This is the WebAppContext with accessors to the ActionLocator,
ActionNameResolver and the Injector, with the companion FactoryProducer.
Developer are expected to subclass this class for their own implementations.
In most cases they would only like to override getFactory(ICS)
for
their own Service factory.
- Author:
- Dolf Dijkstra
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWebAppContext
public DefaultWebAppContext(javax.servlet.ServletContext context)
DefaultWebAppContext
public DefaultWebAppContext(javax.servlet.ServletContext context,
AppContext parent)
createActionLocator
public ActionLocator createActionLocator()
createActionNameResolver
public ActionNameResolver createActionNameResolver()
createInjector
public Injector createInjector()
createFactoryProducer
public FactoryProducer createFactoryProducer()
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
- Returns:
- the Factory to create services that need access to ics.
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.