This content has been marked as final.
Show 3 replies
-
1. Re: using cflow to prevent
kabirkhan Nov 15, 2005 11:02 AM (in response to jmale)instead of
<cflow-stack name="duplicateCollab"> <called expr="* *->@adi.framework.business.Collaboratable(..)"/> </cflow-stack> <bind pointcut="execution(* *->@adi.framework.business.Collaboratable(..))" cflow="!duplicateCollab"> <advice name="collab" aspect="adi.framework.business.CollaborationAspectJboss"/> </bind>
Try<cflow-stack name="duplicateCollab"> <not-called expr="* *->@adi.framework.business.Collaboratable(..)"/> </cflow-stack> <bind pointcut="execution(* *->@adi.framework.business.Collaboratable(..))" cflow="duplicateCollab"> <advice name="collab" aspect="adi.framework.business.CollaborationAspectJboss"/> </bind>
-
2. Re: using cflow to prevent
jmale Nov 16, 2005 3:09 AM (in response to jmale)Thanks Kabir for the reply.
I tried what you suggested but without success.
Investigating a bit further I found that the "cflow" statements did operate as expected if I used ordinary method patterns for the "called expr" attribute. It seems to break if I specify an annotated method pattern however. I was wondering if this was by design or whether it might be a bug - I am using version 1.3.4 -
3. Re: using cflow to prevent
kabirkhan Nov 28, 2005 11:38 AM (in response to jmale)Added a JIRA issue
http://jira.jboss.com/jira/browse/JBAOP-188