public class XWork extends Object
Constructor and Description |
---|
XWork() |
XWork(ConfigurationManager mgr) |
Modifier and Type | Method and Description |
---|---|
void |
executeAction(String namespace,
String name,
String method)
Executes an action
|
void |
executeAction(String namespace,
String name,
String method,
Map<String,Object> extraContext)
Executes an action with extra context information
|
void |
setLoggerFactory(LoggerFactory factory) |
public XWork()
public XWork(ConfigurationManager mgr)
public void setLoggerFactory(LoggerFactory factory)
public void executeAction(String namespace, String name, String method) throws XWorkException
namespace
- The namespacename
- The action namemethod
- The method nameException
- If anything goes wrongXWorkException
public void executeAction(String namespace, String name, String method, Map<String,Object> extraContext) throws XWorkException
namespace
- The namespacename
- The action namemethod
- The method nameextraContext
- A map of extra context informationException
- If anything goes wrongXWorkException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.