[aspectwerkz-dev] [jira] Deleted: (AW-109) add pointcut types: 'After finally', 'After throws <type>' and 'After returning <type>'
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
[ http://jira.codehaus.org/browse/AW-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
[email protected] deleted AW-109:
---------------------------------
> add pointcut types: 'After finally', 'After throws <type>' and 'After returning <type>'
> ---------------------------------------------------------------------------------------
>
> Key: AW-109
> URL: http://jira.codehaus.org/browse/AW-109
> Project: AspectWerkz
> Issue Type: New Feature
> Reporter: Jonas Boner
> Assignee: Jonas Boner
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> Enhance the After pointcut type with:
> After finally', 'After throws <type>' and 'After returning <type>'
> can be impl. as follows:
> original code:
> foo.bar();
> instrumented code:
> try {
> Object obj = foo.bar();
> if (obj instanceof <type spec. in the 'After returning <type>' pointcut>) {
> // insert call to after returning advice
> }
> }
> catch (<type spec. in the 'After throws <type>) {
> // insert call to after throws advice
> }
> finally {
> // insert call to after finally advice (and plain 'After' pointcuts)
> }
> The attributes definiton should be:
> @AfterReturning <type> <pc>
> @AfterThrowing <type> <pc>
> @AfterFinally <pc>
> The regular @After either goes away or is the same as @AfterFinally
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email