2024年1月13日

摘要: 测试方法 public class TestAopProxy { public static void main(String[] args) { ProxyFactory proxyFactory = new ProxyFactory(new CalculatorLogImpl()); Calcu 阅读全文

posted @ 2024-01-13 04:43 弯弓射雕的男人 阅读(20) 评论(0) 推荐(0)

摘要: package com.atguigu.Aop; public class CalculatorLogImpl implements Calculator{ @Override public int add(int i, int j) { System.out.println("[日志] add 方 阅读全文

posted @ 2024-01-13 04:02 弯弓射雕的男人 阅读(15) 评论(0) 推荐(0)