[jboss-user] [JBoss AOP] - Re: Interceptor is applied 16 times instead of 1

kabir.khan@jboss.com do-not-reply at jboss.com
Mon Sep 17 05:05:02 EDT 2007


  | <?xml version="1.0"?>
  | <aop>
  | 	<bind pointcut="execution(public * com.dts.*->*($instanceof{com.dts.commons.serviceplatform.DTSMessage}))">
  | 		<interceptor class="com.dts.serviceplatform.interceptors.impl.DTSLoggingInterceptor" scope="PER_VM"/>
  | 	</bind>
  | </aop>
  |  

Are you 100% sure that this information only exists in one place in your deploy directory? Even if hidden away in a jar or something it would apply to all classes in the app server. 

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

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



More information about the jboss-user mailing list