|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwebwork.action.factory.ActionFactory
Base action factory implementation that initializes the action factory
delegation, establishes the ActionContext and provides access to the
action factory. Upon instantiation, this class will initialize the
action factory specified by the configuration property
webwork.action.factory.
If this property is not configured
or the specified class cannot be instantiated, the
DefaultActionFactory
class will be instantiated.
Constructor Summary | |
ActionFactory()
|
Method Summary | |
void |
flushCaches()
Called if the configuration has been modified. |
static Action |
getAction(java.lang.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(java.lang.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionFactory()
Method Detail |
public static Action getAction(java.lang.String aName) throws java.lang.Exception
aName
- name of action to return
java.lang.Exception
public static ActionFactory getActionFactory()
public static void setActionFactory(ActionFactory aFactory) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public abstract Action getActionImpl(java.lang.String aName) throws java.lang.Exception
aName
- name of action to check for a match
java.lang.Exception
public void flushCaches()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |