I use EJB3 bean and interceptors in this way:

int. A (try block)
      int. B (try block)
           bean's method
      int. B (finally block)
int. A (finally block)

where in try block I do some checks on request and in finally block (after bean 
method execution) I do some other check on bean generated response.

Response is passed between interceptors and bean (and viceversa) using 
threadlocal data as explained in 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=77276

Is it possible to make bean response visible to interceptors as it yet happens 
for parameeters? Doing so, bean's mthod semantic would be cleaner because 
there's no need to rely on additional code to export the response. I don't know 
if this feature is implemented, so I posted on forum.

thanks in advance
regards

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

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


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to