Arg annotation with number specifying the adice argument number
---------------------------------------------------------------
Key: JBAOP-320
URL:
http://jira.jboss.com/jira/browse/JBAOP-320
Project: JBoss AOP
Issue Type: Sub-task
Affects Versions: 2.1.0.GA, 2.0.0.alpha3
Reporter: Flavia Rainone
Assigned To: Flavia Rainone
Priority: Minor
Add a parameter to the annotation
@Arg
So that it receives the advice method argument number.
This is for use in cases like:
public void interceptedMethod(String original, String copy)
{
}
And you want to receive the value of copy, not of original, on your advice:
public void myAdvice(@Arg String copy)
{
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira