JBoss Community

Re: Intercept an method call within a specific statement

created by Rui Pereira in JBoss AOP - View the full discussion

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

Start a new discussion in JBoss AOP at Community