[jboss-user] [JBoss AOP] - Re: Get bean context from an Aspect
kabir.khan@jboss.com
do-not-reply at jboss.com
Wed Nov 15 08:35:54 EST 2006
"Giordacchio++" wrote :
| There is a method that I can call in my interceptor similar to getTargetObject() that instead returning a reference to the target object (a bean in this case) returns his context ???
| Something like a getBeanContext() ???
|
No, JBoss AOP does not know about EJB, it assumes POJOs only. If you use EJB 3 interceptors instead, your interceptor works in the same ENC as the target session bean
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986131#3986131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986131
More information about the jboss-user
mailing list