]
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: