public class LookupAliasActionFactoryProxy
extends webwork.action.factory.ActionFactoryProxy
This will convert the given action alias name to an Action implementation name.
This also ensures that only actions that you have explicitly exposed for invocation can be accessed. The default alias for an action configuration entry is the action's name.
| Modifier and Type | Class and Description |
|---|---|
class |
LookupAliasActionFactoryProxy.UnauthorisedActionException |
| Constructor and Description |
|---|
LookupAliasActionFactoryProxy(webwork.action.factory.ActionFactory aFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCaches() |
webwork.action.Action |
getActionImpl(String alias) |
public LookupAliasActionFactoryProxy(webwork.action.factory.ActionFactory aFactory)
public webwork.action.Action getActionImpl(String alias) throws Exception
Looks up the action name for the specified alias in the webwork configuration, and then delegates the lookup of the Action instance to the action factory proxy chain.
getActionImpl in class webwork.action.factory.ActionFactoryalias - The alias of the action to lookup.ActionNotFoundException - if the action called actionName is not foundExceptionpublic void flushCaches()
flushCaches in class webwork.action.factory.ActionFactoryProxyCopyright © 2002-2016 Atlassian. All Rights Reserved.