[jboss-user] [EJB 3.0] New message: "Re: Application/EAR level interceptors"

jaikiran pai do-not-reply at jboss.com
Mon Feb 15 08:35:17 EST 2010


User development,

A new message was posted in the thread "Application/EAR level interceptors":

http://community.jboss.org/message/526356#526356

Author  : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran

Message:
--------------------------------------------------------------
What kind of interceptors are you planning to write? javax.interceptor.Interceptor or JBoss AOP based interceptors?
 
> ThomasGo wrote:
>  
>  
> My applications contains multiple ejb jars and some of them are beyond my control, i.e. I can't add or change an ejb-jar.xml there.
> ....
>  
> Another thing I tried was server level interceptors, i.e. the interceptors were placed inside a jar in the server's lib directory and registered using a xxx-aop.xml file in the server's deploy directory.
> However, this also isn't an option, since there are other applications that will be deployed on the same machine and the interceptor should not be visible to them (and no calls should be intercepted).
> ...
>  
> A third alternative would be load-time weaving, but that's an option that is not preferred
> ...
>  
> 
> 
I don't see an option with all those restrictions.
 
Can you provide more details on what you are trying? Maybe there's a different way to do it.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/526356#526356




More information about the jboss-user mailing list