|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object webwork.action.factory.ActionFactory com.atlassian.jira.config.webwork.JiraActionFactory
public class JiraActionFactory
JiraActionFactory replaces the webwork1 DefaultActionFactory
and avoids is unsafe web
parameter setting as described in JRA-15664.
Nested Class Summary | |
---|---|
static class |
JiraActionFactory.NonWebActionFactory
Deprecated. since 5.0.7 |
Constructor Summary | |
---|---|
JiraActionFactory()
|
|
JiraActionFactory(webwork.action.factory.ActionFactory factory,
com.atlassian.jira.config.webwork.JiraActionFactory.JiraPluginActionFactory rootActionFactory)
Deprecated. since 5.0.7 |
Method Summary | |
---|---|
void |
flushCaches()
If the set of loaded plugins (and hence loaded actions) has changed then this method must be called to flush the cache of action names to action classes. |
webwork.action.Action |
getActionImpl(String actionName)
This method is invoked by webwork1 to load an Action for a given action name. |
Methods inherited from class webwork.action.factory.ActionFactory |
---|
getAction, getActionFactory, setActionFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraActionFactory()
@Deprecated public JiraActionFactory(webwork.action.factory.ActionFactory factory, com.atlassian.jira.config.webwork.JiraActionFactory.JiraPluginActionFactory rootActionFactory)
JiraActionFactory.NonWebActionFactory
to set the action instantiation chain.
factory
- The factory chain that will handle instantiating the passed in action names.rootActionFactory
- The root of the action factory chain, responsible for actual creation of Action
instances.Method Detail |
---|
public webwork.action.Action getActionImpl(String actionName) throws Exception
Action
for a given action name. The
parameters for that action are also set into the action before it is returned
getActionImpl
in class webwork.action.factory.ActionFactory
actionName
- the name of the action to load
Exception
- because that is how webwork1 has declared its exception structure
webwork.action.ResultException
- if the parameters cannot be set into the action successfully AND the action is not
declared IllegalArgumentAware
public void flushCaches()
flushCaches
in class webwork.action.factory.ActionFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |