Hi guys.

I've tried to define pointcut:
<bind pointcut="
  |                 set(* my.*->*)
  |                 AND
  |                 within(my.Pojo)
  |                 ">
  |     <interceptor class="WriteOperationsInterceptor"/>
  | </bind>

But it doesn't intercepts what I want. It works with 'call' and 'execution' pointcut 
types.
I need that combination..

PS. Maybe there should be separate page on JBossAOP Wiki about "with and withincode". 
They are quite important in AOP.


Regards,
Tomasz



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849267#3849267

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849267


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to