[aspectwerkz-dev] [jira] Deleted: (AW-46) Interrupting PreAdvice chain and skipping target method execution
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
[ http://jira.codehaus.org/browse/AW-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
[email protected] deleted AW-46:
--------------------------------
> Interrupting PreAdvice chain and skipping target method execution
> -----------------------------------------------------------------
>
> Key: AW-46
> URL: http://jira.codehaus.org/browse/AW-46
> Project: AspectWerkz
> Issue Type: New Feature
> Reporter: Jonas Boner
> Assignee: Jonas Boner
>
> Proposed solution:
> The Pre/Post advice's execute method could return a boolean saying if we should proceed or not. Returning false would then mean, do not proceed with either more advices and do not execute the advised method.
> Something like this (psuedo code) would work:
> ...
> if (preAdvice.execute()) {
> methodCall();
> postAdvice.execute();
> }
> ...
> instead of what we have now:
> ...
> preAdvice.execute();
> methodCall();
> postAdvice.execute();
> ...
--
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