Class CommandActionFactoryProxy


public class CommandActionFactoryProxy extends ActionFactoryProxy
Executes a "command" within an action specified either as part of the action name or as a parameter value.
Version:
$Revision: 1.11 $
Author:
Rickard Öberg (rickard@middleware-company.com)
  • Constructor Details

    • CommandActionFactoryProxy

      public CommandActionFactoryProxy(ActionFactory aFactory)
  • Method Details

    • getActionImpl

      public Action getActionImpl(String aName) throws Exception
      Locates the matching action object from the action factory proxy chain and then executes a command on it if the CommandDriven interface is implemented. The command is determined either by using the text after the "!" in the action name or from the value of the first parameter named "command."
      Specified by:
      getActionImpl in class ActionFactory
      Parameters:
      aName -
      Returns:
      action from the next action factory proxy
      Throws:
      Exception