com.opensymphony.xwork2.factory

## Interface ActionFactory

- All Known Implementing Classes:
    DefaultActionFactory

      public interface ActionFactory

  Used by `ObjectFactory` to build actions

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `buildAction(String actionName, String namespace, ActionConfig config, Map<String,Object> extraContext)` Builds action instance

- - ### Method Detail

    - #### buildAction

          Object buildAction(String actionName,
                             String namespace,
                             ActionConfig config,
                             Map<String,Object> extraContext)
                      throws Exception

      Builds action instance
      Parameters:
        `actionName` - name of the action
        `namespace` - namespace for the action
        `config` - action config
        `extraContext` - extra context map
      Returns:
        action object
      Throws:
        `Exception` - in case of any errors

Copyright © 2000–2024 Apache Software Foundation. All rights reserved.