[jboss-jira] [JBoss JIRA] Closed: (JBAOP-381) Finally Advices
Flavia Rainone (JIRA)
jira-events at lists.jboss.org
Wed May 9 00:49:52 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAOP-381?page=all ]
Flavia Rainone closed JBAOP-381.
--------------------------------
Resolution: Done
> Finally Advices
> ---------------
>
> Key: JBAOP-381
> URL: http://jira.jboss.com/jira/browse/JBAOP-381
> Project: JBoss AOP
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Flavia Rainone
> Assigned To: Flavia Rainone
> Priority: Critical
> Fix For: 2.0.0.alpha5
>
>
> We need to implement finally advices for genadvisor mode.
> Finally advice signature is the annotated-parameters one. We have the following additional rule:
> - if the advice receives @Return, it must also receives @Thrown as parameter, so the advice can be aware when the return value is not valid
> Finally will be available on all joinpoint types, because a field read can throw an exception if it is intercepted by an advice.
> Documentation:
> - make it clear how finally advices will cause both advice and joinpoint exceptions being ignored
> - in the tutorial example, create a new section for finally advices with the before/after example augmented (release lock in a finally block)
--
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