[jboss-jira] [JBoss JIRA] Resolved: (JBAOP-320) Arg annotation with number specifying the adice argument number
Flavia Rainone * (JIRA)
jira-events at jboss.com
Thu Jan 25 09:12:00 EST 2007
[ http://jira.jboss.com/jira/browse/JBAOP-320?page=all ]
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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list