]
Flavia Rainone * resolved JBAOP-320.
------------------------------------
Fix Version/s: 2.1.0.GA
2.0.0.alpha3
Resolution: Done
Assignee: Flavia Rainone * (was: Flavia Rainone)
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
Fix For: 2.1.0.GA, 2.0.0.alpha3
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: