[jboss-user] [JBoss AOP] - Re: Can i have interceptor on throw exception?
stalep
do-not-reply at jboss.com
Tue Apr 29 09:25:51 EDT 2008
you cant use "normal" aop on ejb beans since they are changed when deployed on jboss. but if you use ejb3 you can use the interceptor util thats included in the spec to do what you ask for.
so since you call entitymanager.find(..) im guessing you are using ejb3. if you are take a look at http://docs.jboss.org/ejb3/app-server/tutorial/interceptor/interceptor.html.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147505#4147505
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147505
More information about the jboss-user
mailing list