com.fatwire.gst.foundation.controller.action.support
Class SingleActionLocator
java.lang.Object
com.fatwire.gst.foundation.controller.action.support.AbstractActionLocator
com.fatwire.gst.foundation.controller.action.support.SingleActionLocator
- All Implemented Interfaces:
- ActionLocator
public class SingleActionLocator
- extends AbstractActionLocator
Class that provides access to a single action, ie the name is ignored and it
will always return the same new Action, from the actionClass field.
- Author:
- Dolf Dijkstra
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleActionLocator
public SingleActionLocator()
SingleActionLocator
public SingleActionLocator(Injector injector,
String actionClass)
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.
getActionClass
public Class<Action> getActionClass()
setActionClass
public void setActionClass(String actionClass)
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.