Package webwork.action.factory
Class PrefixActionFactoryProxy
java.lang.Object
webwork.action.factory.ActionFactory
webwork.action.factory.ActionFactoryProxy
webwork.action.factory.PrefixActionFactoryProxy
Locate an action based on the configured list of package prefixes. The configuration property
webwork.action.packages is used to specify a comma separated list of packages that should be considered
as prefixes. The default package prefix list is: webwork.action.test and
webwork.action.standard.- Version:
- $Revision: 1.17 $
- Author:
- Rickard Öberg (rickard@middleware-company.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled if the configuration has been modified.getActionImpl(String aName) Returns an action class instance after searching through a list of package prefixes from the configuration properties.Methods inherited from class webwork.action.factory.ActionFactoryProxy
getNextFactoryMethods inherited from class webwork.action.factory.ActionFactory
getAction, getActionFactory, setActionFactory
-
Constructor Details
-
PrefixActionFactoryProxy
-
-
Method Details
-
getActionImpl
Returns an action class instance after searching through a list of package prefixes from the configuration properties. If no action was found, get the action from the action factory proxy chain.- Specified by:
getActionImplin classActionFactory- Parameters:
aName-- Returns:
- action whose name may be prefixed by this factory
- Throws:
Exception
-
flushCaches
public void flushCaches()Description copied from class:ActionFactoryCalled if the configuration has been modified. If an ActionFactory does any caching of results, it should override this method and flush its internal caches in it.- Overrides:
flushCachesin classActionFactoryProxy
-