public class XWorkVersionSupport extends Object
Constructor and Description |
---|
XWorkVersionSupport() |
Modifier and Type | Method and Description |
---|---|
com.opensymphony.xwork2.Action |
extractAction(com.opensymphony.xwork2.ActionInvocation invocation)
Works around binary incompatibility of ActionInvocation#getAction between XWork 1.0 and 1.2.
|
Method |
extractMethod(com.opensymphony.xwork2.ActionInvocation invocation)
Works around missing ActionConfig#getMethod in Xwork 1.2.
|
public com.opensymphony.xwork2.Action extractAction(com.opensymphony.xwork2.ActionInvocation invocation)
invocation
- the action invocationpublic Method extractMethod(com.opensymphony.xwork2.ActionInvocation invocation) throws NoSuchMethodException
invocation
- the action invocationNoSuchMethodException
- if a method could not be found for the actionCopyright © 2016 Atlassian. All rights reserved.