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 TypeMethodDescriptionbuildAction
(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 ExceptionBuilds action instance- Parameters:
actionName
- name of the actionnamespace
- namespace for the actionconfig
- action configextraContext
- extra context map- Returns:
- action object
- Throws:
Exception
- in case of any errors
-