public class AliasingActionFactoryProxy extends ActionFactoryProxy
"webwork.only.aliasing" is set to "true", then the given name *must* be an
alias. Otherwise a security exception will be thrown. This is to ensure that only actions that you explicitly want
exposed for invocation can be accessed.
However, actions can always access any other action through the ActionFactory regardless of this setting.| Constructor and Description |
|---|
AliasingActionFactoryProxy(ActionFactory aFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCaches()
Called if the configuration has been modified.
|
Action |
getActionImpl(String aName)
Searches for the action from the configuration properties substituting the alias with the associated action and
then returns the matching action from the action factory proxy chain.
|
getNextFactorygetAction, getActionFactory, setActionFactorypublic AliasingActionFactoryProxy(ActionFactory aFactory)
public Action getActionImpl(String aName) throws Exception
".action" suffix.getActionImpl in class ActionFactoryaName - Exceptionpublic void flushCaches()
ActionFactoryflushCaches in class ActionFactoryProxyCopyright © 2013 Atlassian. All Rights Reserved.