[aspectwerkz-dev] [jira] Deleted: (AW-141) attribute def and xml def NOT independent
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
[ http://jira.codehaus.org/browse/AW-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
[email protected] deleted AW-141:
---------------------------------
> attribute def and xml def NOT independent
> -----------------------------------------
>
> Key: AW-141
> URL: http://jira.codehaus.org/browse/AW-141
> Project: AspectWerkz
> Issue Type: Bug
> Reporter: Jonas Boner
> Assignee: Alexandre Vasseur
> Original Estimate: 3 hours
> Remaining Estimate: 3 hours
>
> The idea is that I should be able to define an advice (and bind it to a pointcut) in attributes but define the pointcut in XML. This is currently NOT possible since when the AST for the attributes is evaluated (which are evaluated when the attributes are read BEFORE the XML def has been parsed, see DocumentParse.parseAspectElements(..)) the pointcut has not yet been registered and the AST resolving fails.
> It is not possible to declare the pointcut but to leave the pattern empty. E.g.
> @Call
> Pointcut pc;
> Sidenote: is it really possible to redefine attribute poincuts in XML, if this problem is not solved? Needs to be tested as well.
--
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