Xml实现AOP

1.创建好接口和类

2.接口里的内容

3.类中添加的内容

4.创建xml文件,并配置

 

class为类的路径

method的值要和mybefor的方法名一致

原文地址:https://www.cnblogs.com/erci-520/p/8553499.html