com.opensymphony.xwork2
Class XWork

java.lang.Object
  extended by com.opensymphony.xwork2.XWork

public class XWork
extends java.lang.Object

Simple facade to make using XWork standalone easier


Constructor Summary
XWork()
           
XWork(ConfigurationManager mgr)
           
 
Method Summary
 void executeAction(java.lang.String namespace, java.lang.String name, java.lang.String method)
          Executes an action
 void executeAction(java.lang.String namespace, java.lang.String name, java.lang.String method, java.util.Map<java.lang.String,java.lang.Object> extraContext)
          Executes an action with extra context information
 void setLoggerFactory(LoggerFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWork

public XWork()

XWork

public XWork(ConfigurationManager mgr)
Method Detail

setLoggerFactory

public void setLoggerFactory(LoggerFactory factory)

executeAction

public void executeAction(java.lang.String namespace,
                          java.lang.String name,
                          java.lang.String method)
                   throws XWorkException
Executes an action

Parameters:
namespace - The namespace
name - The action name
method - The method name
Throws:
java.lang.Exception - If anything goes wrong
XWorkException

executeAction

public void executeAction(java.lang.String namespace,
                          java.lang.String name,
                          java.lang.String method,
                          java.util.Map<java.lang.String,java.lang.Object> extraContext)
                   throws XWorkException
Executes an action with extra context information

Parameters:
namespace - The namespace
name - The action name
method - The method name
extraContext - A map of extra context information
Throws:
java.lang.Exception - If anything goes wrong
XWorkException


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.