com.fatwire.gst.foundation.controller.action.support
Class MapActionLocator
java.lang.Object
com.fatwire.gst.foundation.controller.action.support.AbstractActionLocator
com.fatwire.gst.foundation.controller.action.support.BaseActionLocator
com.fatwire.gst.foundation.controller.action.support.MapActionLocator
- All Implemented Interfaces:
- ActionLocator
- Direct Known Subclasses:
- CommandActionLocator
public class MapActionLocator
- extends BaseActionLocator
ActionLocator that holds a Map with the Actions. The 'name' is keyed to a map
that holds the Actions in a key/value pair.
- Since:
- 2011-03-15
- Author:
- Tony Field, Dolf Dijkstra
Field Summary |
protected static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.apache.commons.logging.Log LOG
MapActionLocator
public MapActionLocator()
setActionMap
public void setActionMap(Map<String,Action> map)
doFindAction
protected Action doFindAction(COM.FutureTense.Interfaces.ICS ics,
String name)
- Description copied from class:
AbstractActionLocator
- Template Method for finding the Action for the custom ActionLocator. In
case the Action is created through this method, it is expected to be
fully injected and ready to use.
- Specified by:
doFindAction
in class AbstractActionLocator
- Parameters:
ics
- the Content Server contextname
- the name of the action
- Returns:
- the Action if found, null is valid.
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.