public class DefaultActionFactory extends ActionFactory
The order in which factory proxies are executed is as follows:
ChainingActionFactoryProxy - Copies properties from one
action to the next in a chain.ParametersActionFactoryProxy - Sets parameters on the action.PrepareActionFactoryProxy - Prepares or initializes the action.ContextActionFactoryProxy - Establishes the action's context by executing methods for all implemented
Aware* interfaces.CommandActionFactoryProxy - Executes a specified "command" method if
the action implements the CommandDriven interface.AliasingActionFactoryProxy
- Locates an action from the configuration substituting the alias with the associated action string.CommandActionFactoryProxy - Executes a specified "command" method again in the event the original action name was
originally an alias.JspActionFactoryProxy - Returns the JSP action if its suffix is ".jsp".PrefixActionFactoryProxy - Returns an action using a configured list of packages to prefix its name.XMLActionFactoryProxy - Returns the XML action if its suffix is ".xml".ScriptActionFactoryProxy - Returns the Script action if its suffix matches that of a supported scripting
language.JavaActionFactory - Returns an action object from a fully qualified classname.| Modifier and Type | Field and Description |
|---|---|
protected ActionFactory |
factory |
| Constructor and Description |
|---|
DefaultActionFactory()
Initialize action factory proxy delegation chain.
|
| Modifier and Type | Method and Description |
|---|---|
Action |
getActionImpl(String name)
Get an action object.
|
protected ActionFactory |
getRootFactory()
Get the root action factory (usually java).
|
flushCaches, getAction, getActionFactory, setActionFactoryprotected ActionFactory factory
public DefaultActionFactory()
protected ActionFactory getRootFactory()
public Action getActionImpl(String name) throws Exception
getActionImpl in class ActionFactoryname - classname of the action to be createdExceptionCopyright © 2013 Atlassian. All Rights Reserved.