|
From: hi j. <hij...@ho...> - 2004-07-23 01:48:18
|
Hi Spring team Sorry to interrupt you. I have used spring aop for months. And now I try to sniff out sql statement for debugging. I define java.sql.Statement.execute* as pointcut. But it seems the spring aop advise does work at all:( The traditional way in spring document is: 1)define the bean and register it in the bean container. 2)proxy it, and bind with advisor 3)get the bean(created by proxy) by name, run it. I think the third step broken in my scene, because the main stream codes are encapsulated well. So any suggestion? Regards! Jack _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn |