spring aop 只能监控接口吗
答案:2 悬赏:10 手机版
解决时间 2021-02-22 16:06
- 提问者网友:流星是天使的眼泪
- 2021-02-21 18:40
spring aop 只能监控接口吗
最佳答案
- 五星知识达人网友:拜訪者
- 2021-02-21 19:11
package aop;
public interface Student {
public void addStudent(String name);
}
package aop;
public class StudentImpl implements Student {
public void addStudent(String name) {
System.out.println(" 欢迎 " + name + " 你加入Spring家庭! ");
}
}
public interface Student {
public void addStudent(String name);
}
package aop;
public class StudentImpl implements Student {
public void addStudent(String name) {
System.out.println(" 欢迎 " + name + " 你加入Spring家庭! ");
}
}
全部回答
- 1楼网友:污到你湿
- 2021-02-21 20:25
package aop;
public interface student {
public void addstudent(string name);
}
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯