[jboss-user] [JBoss AOP] - Re: Intercept an method call within a specific statement

Rui Pereira do-not-reply at jboss.com
Tue Jan 11 19:37:13 EST 2011


Rui Pereira [http://community.jboss.org/people/rhp] created the discussion

"Re: Intercept an method call within a specific statement"

To view the discussion, visit: http://community.jboss.org/message/580163#580163

--------------------------------------------------------------
Kabir Khan

Your suggestion is to use cflow intercepting all join points in the control flow of all methods. Inside the advice, trigger an exception (and catch) and examine the stack. Correct?

But in the stack of the exception will dont show any reference to the method getPerson(), because getAddress() and getStreet() are called outside.

Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/580163#580163]

Start a new discussion in JBoss AOP at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2027]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110111/ac9154f0/attachment-0001.html 


More information about the jboss-user mailing list