public abstract class ActionFactory extends Object
webwork.action.factory. If this property is not configured or the
specified class cannot be instantiated, the DefaultActionFactory class will be instantiated.| Constructor and Description |
|---|
ActionFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCaches()
Called if the configuration has been modified.
|
static Action |
getAction(String aName)
Returns the matching action found as the result of traversing the action factory delegation chain.
|
static ActionFactory |
getActionFactory()
Returns the action factory implementation or the default action factory if not available.
|
abstract Action |
getActionImpl(String aName)
Returns the action object for the specified action or a matching action on the action factory delegation chain.
|
static void |
setActionFactory(ActionFactory aFactory)
Set the action factory implementation.
|
public static Action getAction(String aName) throws Exception
aName - name of action to returnExceptionpublic static ActionFactory getActionFactory()
public static void setActionFactory(ActionFactory aFactory) throws IllegalStateException
IllegalStateExceptionpublic abstract Action getActionImpl(String aName) throws Exception
aName - name of action to check for a matchExceptionpublic void flushCaches()
Copyright © 2013 Atlassian. All Rights Reserved.