[jboss-user] [EJB 3.0] - Re: Interceptors per MDB
do-not-reply at jboss.com
Fri Oct 3 10:02:36 EDT 2008
There are so many methods of how to make an interceptor. The other way i saw was implementing the Interceptor interface and using the InterceptorDef annotation however when i attempted this, this did not work at all.
I am searching for the solution that will could have 1 interceptor instance for 100 instances of a MDB. This interceptor would effectively maintain the "state" of the entire MDB.
With that if i deploy another MDB in the same ear via deployment descriptors, another interceptor would be required to profile the new MDB.
Thus 2 MDBs X j instances but still only 2 interceptors to profile each MDB.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180301#4180301
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180301
More information about the jboss-user