[jboss-jira] [JBoss JIRA] Updated: (JBAOP-320) Arg annotation with number specifying the adice argument number
Kabir Khan (JIRA)
jira-events at lists.jboss.org
Fri Feb 23 13:34:36 EST 2007
[ http://jira.jboss.com/jira/browse/JBAOP-320?page=all ]
Kabir Khan updated JBAOP-320:
-----------------------------
Fix Version/s: (was: 2.1.0.GA)
Remove links to 2.1.0.GA
> 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
> Reporter: Flavia Rainone
> Assigned To: Flavia Rainone
> Priority: Minor
> Fix For: 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