[aspectwerkz-dev] [jira] Deleted: (AW-103) Allow exclusions from point-cut definitions
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
[ http://jira.codehaus.org/browse/AW-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
[email protected] deleted AW-103:
---------------------------------
> Allow exclusions from point-cut definitions
> -------------------------------------------
>
> Key: AW-103
> URL: http://jira.codehaus.org/browse/AW-103
> Project: AspectWerkz
> Issue Type: Improvement
> Environment: N/A
> Reporter: Jeppe Cramon
>
> Hi
> It would be really nice to be able to specify exclusions from point-cut definitions:
> Let's say I have a class with 30 methods. I want to bind my logging advice to all methods, except two methods (cause for these two methods, logging hasn't been initialized). Today I can do this by creating pointcuts for all 28 methods, which can be cumbersome... Instead it would be really nice to do the following:
> <pointcut-def name="target"
> type="method"
> pattern="* com.test.StartupServlet.*(..)">
> <exclude pattern="void com.test.StartupServlet.init(ServletConfig)"/>
> <exclude pattern="void com.test.StartupServlet.initLogging()"/>
> </pointcut-def>
> <bind-advice pointcut="target">
> <advice-ref name="LogAdvice"/>
> </bind-advice>
> What do you think?
> /Jeppe
--
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