[jboss-jira] [JBoss JIRA] Created: (JBAOP-381) Finally Advices

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Mon Apr 16 11:14:58 EDT 2007


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