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

"Intercept an method call within a specific statement"

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

--------------------------------------------------------------
Hi

There is some way of intercept an method call within a specific statement?
For instance:

String s=getPerson().getAddress().getStreet();

The purpose is to intercept the two method calls, getAddress() and getStreet(), 
just because they were invoked from an method named getPerson().

Thanks,
Rui
--------------------------------------------------------------

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

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