Package org.apache.struts2.factory
Class DefaultActionFactory
java.lang.Object
org.apache.struts2.factory.DefaultActionFactory
- All Implemented Interfaces:
- ActionFactory
Default implementation
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuildAction(String actionName, String namespace, ActionConfig config, Map<String, Object> extraContext) Builds action instancevoidsetObjectFactory(ObjectFactory objectFactory) 
- 
Constructor Details- 
DefaultActionFactorypublic DefaultActionFactory()
 
- 
- 
Method Details- 
setObjectFactory
- 
buildActionpublic Object buildAction(String actionName, String namespace, ActionConfig config, Map<String, Object> extraContext) throws ExceptionDescription copied from interface:ActionFactoryBuilds action instance- Specified by:
- buildActionin interface- ActionFactory
- 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
 
 
-