Package webwork.action.factory
Class JavaActionFactory
java.lang.Object
webwork.action.factory.ActionFactory
webwork.action.factory.JavaActionFactory
- Direct Known Subclasses:
ReloadingJavaActionFactory
Returns a loaded and instantiated action class instance.
- Version:
- $Revision: 1.14 $
- Author:
- Rickard Öberg (rickard@middleware-company.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled if the configuration has been modified.getActionImpl(String name) Returns a loaded and instantiated action class instance using a fully qualified classname.Methods inherited from class webwork.action.factory.ActionFactory
getAction, getActionFactory, setActionFactory
-
Constructor Details
-
JavaActionFactory
public JavaActionFactory()
-
-
Method Details
-
getActionImpl
Returns a loaded and instantiated action class instance using a fully qualified classname.- Specified by:
getActionImplin classActionFactory- Parameters:
name- classname of the action to be created- Returns:
- get the action corresponding to the given Java class name
- 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 classActionFactory
-