I am having the same problem and trying to solve it using container 
interceptors instead of client interceptors since the EJB clients will not be 
going through the same client.

Can I use a built in JBoss interceptor and plug it in the container interceptor 
list or do I have to write one. I have been trying to write a simple 
interceptor , overriding the invoke method but I am unable to find the object 
on which I should synchronize on .. I have tried 

the EnterPriseContext
the EJBObject
Invocation.getId()

any ideas what should i sync on 

basically - 
synchronize(x){
 return nextInterceptor.invoke(mi); 
}

I need to know what is x and how do I get it.

Thanks


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to