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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to