This content has been marked as final.
Show 2 replies
-
1. Hello all, Sacha Labourey and I have written a companion w
dolphy Dec 14, 2004 9:52 PM (in response to dolphy)1
-
2. Re: I'd like to controll in order of interception
kabirkhan Dec 15, 2004 4:14 AM (in response to dolphy)Hi,
In the 1.0 release it is currently using the order of the interceptors defined in jboss-aop.xml, so you could try moving the binding with the traceinterceptor to the top:<?xml version="1.0" encoding="UTF-8"?> <aop> <bind pointcut="all(@trace)"> <interceptor class="TraceInterceptor"/> </bind> <bind pointcut="execution(POJO->@billable(..))"> <interceptor class="BillingInterceptor"/> </bind> <bind pointcut="execution(* POJO->@billable(..))"> <interceptor class="BillingInterceptor"/> </bind> </aop>
Apart from that I am currently in the process of adding 'precedence' to JBoss AOP, it is a global relative sorting order of interceptors. Check cvs a bit later this week and it should be in.