[jboss-user] [JBoss AOP] - Re: Determining who made the original call

kabir.khan@jboss.com do-not-reply at jboss.com
Fri Jan 12 06:54:36 EST 2007

"aleksab" wrote : Where is the connection from ie. the domain "Stateless Bean" to the annotation @Stateless made?

It is hardcoded. If you also use @Clustered it uses "Clustered Stateless Bean" (or whatever it is called), which again is hardcoded. For any other domains, use @AspectDomain.

*@Local must be running within JBoss AS and has no interceptors. The container will thus be running in the same thread as the caller.
*@Remote obviously can run outside, it has a stack of client interceptors. It needs to put the info into the invocation metadata so that can be picked up on the server.

I'd add a new stack, copying the information from StatelessSessionClientInterceptors. and adding your interceptor in there somewhere and use @RemoteBinding(interceptorStack="MyCustomSLSBClientInterceptorStack")

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

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

More information about the jboss-user mailing list