public class DefaultActionFactory extends Object implements ActionFactory
Constructor and Description |
---|
DefaultActionFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
buildAction(String actionName,
String namespace,
ActionConfig config,
Map<String,Object> extraContext)
Builds action instance
|
void |
setObjectFactory(ObjectFactory objectFactory) |
public void setObjectFactory(ObjectFactory objectFactory)
public Object buildAction(String actionName, String namespace, ActionConfig config, Map<String,Object> extraContext) throws Exception
ActionFactory
buildAction
in interface ActionFactory
actionName
- name of the actionnamespace
- namespace for the actionconfig
- action configextraContext
- extra context mapException
- in case of any errorsCopyright © 2000–2020 Apache Software Foundation. All rights reserved.