From: <kab...@jb...> - 2005-07-27 10:29:56
|
The issues are that infinite recursion can take place, since interceptors/aspects themselves can be weaved. I tried something similar to what you describe above based on one of the examples in our tutorials, but could not reproduce your problem. | <bind pointcut="call(* *->*(..))"> | <interceptor class="SimpleInterceptor"/> | </bind> | causes recursion as expected | <bind pointcut="call(* *->*(..)) AND !within(SimpleInterceptor)"> | <interceptor class="SimpleInterceptor"/> | </bind> | was fine. Do you have other bindings declared in your jboss-aop.xml file? If you do, and haven't already, make sure that all your interceptors/aspects are included in !within() clauses View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886765#3886765 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886765 |