public class

LookupAliasActionFactoryProxy

extends ActionFactoryProxy
java.lang.Object
   ↳ webwork.action.factory.ActionFactory
     ↳ webwork.action.factory.ActionFactoryProxy
       ↳ com.atlassian.jira.config.webwork.LookupAliasActionFactoryProxy

Class Overview

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.

Summary

Nested Classes
class LookupAliasActionFactoryProxy.UnauthorisedActionException  
Public Constructors
LookupAliasActionFactoryProxy(ActionFactory aFactory)
Public Methods
void flushCaches()
Action getActionImpl(String alias)

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.

[Expand]
Inherited Methods
From class webwork.action.factory.ActionFactoryProxy
From class webwork.action.factory.ActionFactory
From class java.lang.Object

Public Constructors

public LookupAliasActionFactoryProxy (ActionFactory aFactory)

Public Methods

public void flushCaches ()

public Action getActionImpl (String alias)

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.

Parameters
alias The alias of the action to lookup.
Returns
  • The action corresponding to the given alias.
Throws
ActionNotFoundException if the action called actionName is not found
Exception