[ http://jira.codehaus.org/browse/AW-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
admin@example... deleted AW-152:
---------------------------------
> aspect reuse is bogus when named pc is only def in xml
> ------------------------------------------------------
>
> Key: AW-152
> URL: http://jira.codehaus.org/browse/AW-152
> Project: AspectWerkz
> Issue Type: Bug
> Reporter: Alexandre Vasseur
> Assignee: Alexandre Vasseur
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> Alex wrote:
> >if pointcut are defined in XML but advice is not
> >so only with named pc like
> >
> >MyAspect:
> >Aspect {
> >@Around(somePC)
> >.. theAdviceMethod(..) {..}
> >}
> >xml:
> ><aspect ...>
> > <pointcut name=somePC expression=../>
> > <!-- no binding there -->
> ></aspect>
> >
> >then what should we do (how should we fail / ignore / warn) when a named
> >pointcut is "still not defined" ?
> >
> >
> Well semantically speaking if would mean we've got a pointcut but
> nothing to do when reaching the
> pointcut... I do not really see anything wrong with that. Probably a
> warning would be nice 'cause
> this would probably be due to a lazy programmer mistake.
> Otherwise how can I easily write re-usable aspects?
> BTW, do the attributes are "inherited" betweens hierarchies of aspects?
> I mean if I have some
> attributes on abstract aspect A, do aspect B extending A "inherit" the
> attributes definitions?
> Jérôme.
--
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