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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to