[jboss-user] [EJB/JBoss] - how to exclude a caller in interceptor

john_woo@canada.com do-not-reply at jboss.com
Tue Aug 28 12:32:37 EDT 2007


Hi,

My app based on ejb3 (one of them is message driven bean).

We define some interceptors for all session beans, but how can we achieve such that  if caller is MDB, then bypass all intercepting stage. like

<interceptor-binding>
   <ejb-name>myService</ejb-name>
   <interceptor-class>com.myInterceptor</interceptor-class>
   <exclude-caller>MDBname or MyMDBclass
</interceptor-binding>

Thanks
John

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

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



More information about the jboss-user mailing list