webwork.action.factory
Class JavaActionFactory

java.lang.Object
  extended bywebwork.action.factory.ActionFactory
      extended bywebwork.action.factory.JavaActionFactory
Direct Known Subclasses:
ReloadingJavaActionFactory

public class JavaActionFactory
extends ActionFactory

Returns a loaded and instantiated action class instance.

Version:
$Revision: 1.13 $
Author:
Rickard Öberg (rickard@middleware-company.com)

Constructor Summary
JavaActionFactory()
           
 
Method Summary
 void flushCaches()
          Called if the configuration has been modified.
 Action getActionImpl(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaActionFactory

public JavaActionFactory()
Method Detail

getActionImpl

public Action getActionImpl(java.lang.String name)
                     throws java.lang.Exception
Returns a loaded and instantiated action class instance using a fully qualified classname.

Specified by:
getActionImpl in class ActionFactory
Parameters:
name - classname of the action to be created
Returns:
get the action corresponding to the given Java class name
Throws:
java.lang.Exception

flushCaches

public void flushCaches()
Description copied from class: ActionFactory
Called 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:
flushCaches in class ActionFactory


Copyright © 2001-2003 WebWork All Rights Reserved.