com.atlassian.xwork10
Class Xwork10VersionSupport
java.lang.Object
com.atlassian.xwork10.Xwork10VersionSupport
- All Implemented Interfaces:
- XWorkVersionSupport
public class Xwork10VersionSupport
- extends Object
- implements XWorkVersionSupport
|
Method Summary |
com.opensymphony.xwork.Action |
extractAction(com.opensymphony.xwork.ActionInvocation invocation)
Works around binary incompatibility of ActionInvocation#getAction between XWork 1.0 and 1.2. |
Method |
extractMethod(com.opensymphony.xwork.ActionInvocation invocation)
Works around missing ActionConfig#getMethod in Xwork 1.2. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Xwork10VersionSupport
public Xwork10VersionSupport()
extractAction
public com.opensymphony.xwork.Action extractAction(com.opensymphony.xwork.ActionInvocation invocation)
- Description copied from interface:
XWorkVersionSupport
- Works around binary incompatibility of ActionInvocation#getAction between XWork 1.0 and 1.2.
- Specified by:
extractAction in interface XWorkVersionSupport
- Parameters:
invocation - the action invocation
- Returns:
- the associated action
extractMethod
public Method extractMethod(com.opensymphony.xwork.ActionInvocation invocation)
throws NoSuchMethodException
- Description copied from interface:
XWorkVersionSupport
- Works around missing ActionConfig#getMethod in Xwork 1.2.
- Specified by:
extractMethod in interface XWorkVersionSupport
- Parameters:
invocation - the action invocation
- Returns:
- the associated action
- Throws:
NoSuchMethodException - if a method could not be found for the action
Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.