webwork.action.factory
Class ContextActionFactoryProxy

java.lang.Object
  extended bywebwork.action.factory.ActionFactory
      extended bywebwork.action.factory.ActionFactoryProxy
          extended bywebwork.action.factory.ContextActionFactoryProxy

public class ContextActionFactoryProxy
extends ActionFactoryProxy

Initializes an action for each implemented *Aware interface after first locating the action through the action factory proxy chain.

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

Constructor Summary
ContextActionFactoryProxy(ActionFactory aFactory)
           
 
Method Summary
 Action getActionImpl(java.lang.String aName)
          Returns the action object for the specified action or a matching action on the action factory delegation chain.
protected  void setActionContext(java.lang.Object anAction)
          Initializes the specified action object for each *Aware interface it implements.
 
Methods inherited from class webwork.action.factory.ActionFactoryProxy
flushCaches, getNextFactory
 
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

ContextActionFactoryProxy

public ContextActionFactoryProxy(ActionFactory aFactory)
Method Detail

getActionImpl

public Action getActionImpl(java.lang.String aName)
                     throws java.lang.Exception
Description copied from class: ActionFactory
Returns the action object for the specified action or a matching action on the action factory delegation chain.

Specified by:
getActionImpl in class ActionFactory
Parameters:
aName - name of action to check for a match
Throws:
java.lang.Exception

setActionContext

protected void setActionContext(java.lang.Object anAction)
Initializes the specified action object for each *Aware interface it implements. The following interfaces are supported and initialized in the this order:



Copyright © 2001-2003 WebWork All Rights Reserved.