摘要:
问题描述 在我根据教程视频一步步将所有文件配置完成之后,就显示出来这个错误! 问题解决 将下面两个语句放置到applicationContext.xml配置文件的约束里面即可解决问题: xmlns:aop="http://www.springframework.org/schema/aop http 阅读全文
posted @ 2023-05-13 11:11
yesyes1
阅读(113)
评论(0)
推荐(0)
摘要:
AOP 使用AOP进行代理开发的话,需要导入这样一个依赖: <!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver --> <dependency> <groupId>org.aspectj</groupId> <artif 阅读全文
posted @ 2023-05-13 11:06
yesyes1
阅读(16)
评论(0)
推荐(0)
摘要:
静态代理 利用程序实现客户通过中介向房东租房的案例: 优缺点理解: 代理模式的具体步骤: 动态代理 同样是以租房为例: 需要代理的类是租房的Rent类: Rent.java package org.example.Test; public interface Rent { public void r 阅读全文
posted @ 2023-05-13 10:31
yesyes1
阅读(14)
评论(0)
推荐(0)

浙公网安备 33010602011771号