Package org.apache.struts2.factory

# Interface ActionFactory

All Known Implementing Classes:
  `DefaultActionFactory`

public interface ActionFactory
Used by `ObjectFactory` to build actions

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `buildAction(String actionName, String namespace, ActionConfig config, Map<String,Object> extraContext)`
  Builds action instance

- ## Method Details

  - ### 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