摘要:
@Component("target")public class Target implements TargetInterface { public void save() { System.out.println("save running....."); //int i = 1/0; }} @ 阅读全文
posted @ 2022-07-02 17:49
小松2739
阅读(41)
评论(0)
推荐(0)
摘要:
xml方式: 切面方法:内部有增强方法 public class MyAspect { public void before(){ System.out.println("前置增强.........."); }} 创建目标接口和目标类(内部有切点) public interface TargetIn 阅读全文
posted @ 2022-07-02 17:46
小松2739
阅读(12)
评论(0)
推荐(0)

浙公网安备 33010602011771号