com.opensymphony.xwork2
Class XWork
java.lang.Object
com.opensymphony.xwork2.XWork
public class XWork
- extends Object
Simple facade to make using XWork standalone easier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configurationManager
ConfigurationManager configurationManager
XWork
public XWork()
XWork
public XWork(ConfigurationManager mgr)
setLoggerFactory
public void setLoggerFactory(LoggerFactory factory)
executeAction
public void executeAction(String namespace,
String name,
String method)
throws XWorkException
- Executes an action
- Parameters:
namespace
- The namespacename
- The action namemethod
- The method name
- Throws:
Exception
- If anything goes wrong
XWorkException
executeAction
public void executeAction(String namespace,
String name,
String method,
Map extraContext)
throws XWorkException
- Executes an action with extra context information
- Parameters:
namespace
- The namespacename
- The action namemethod
- The method nameextraContext
- A map of extra context information
- Throws:
Exception
- If anything goes wrong
XWorkException
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.