摘要:
<aop:config> <aop:pointcut id="userDAO" expression="execution(public * cn.dao.IUserDAO.*(..))" /> <aop:advisor advice-ref="tx" pointcut-ref="userDAO"/></aop:config>在上面的代码中execution 是方法运行public是指定public的方法,也可以不写直接:execution(* cn.dao.IUse 阅读全文
posted @ 2012-09-25 11:23
欢歌911
阅读(4671)
评论(0)
推荐(0)

浙公网安备 33010602011771号