com.atlassian.xwork12
Class Xwork12VersionSupport
java.lang.Object
com.atlassian.xwork12.Xwork12VersionSupport
- All Implemented Interfaces:
- XWorkVersionSupport
public class Xwork12VersionSupport
- extends Object
- implements XWorkVersionSupport
Wrapper for functions specific to XWork 1.2
|
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 |
Xwork12VersionSupport
public Xwork12VersionSupport()
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.