com.fatwire.gst.foundation.controller.action.support
Class ClassActionLocator
java.lang.Object
com.fatwire.gst.foundation.controller.action.support.AbstractActionLocator
com.fatwire.gst.foundation.controller.action.support.ClassActionLocator
- All Implemented Interfaces:
- ActionLocator
public class ClassActionLocator
- extends AbstractActionLocator
ActionLocator that loads actions based on a naming convention; if the action name is prefixed with class:
and the rest of the action name is a java class that implements the Action interface , an Action from this class will be created.
- Author:
- Dolf Dijkstra
Method Summary |
protected Action |
doFindAction(COM.FutureTense.Interfaces.ICS ics,
String name)
Template Method for finding the Action for the custom ActionLocator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassActionLocator
public ClassActionLocator(ActionLocator fallbackActionLocator,
Injector injector)
ClassActionLocator
public ClassActionLocator()
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.