摘要:
AOP术语 通知 Advice : 切面的工作。通知定义了切面是什么,以及何时使用。 前置通知 Before 后置通知 After : 无论是否抛出异常都会调用 返回通知 After-returing :方法正常执行无异常之后调用 异常通知 After-throwing : 在目标方法抛出异常后调用 阅读全文
posted @ 2021-03-25 17:40
ttpfx
阅读(69)
评论(0)
推荐(0)
摘要:
安装spring-test和junit依赖,其中junit依赖的版本不低于4.12 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>5.3.4</ver 阅读全文
posted @ 2021-03-25 17:39
ttpfx
阅读(71)
评论(0)
推荐(0)
摘要:
配置自动扫描的包 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema 阅读全文
posted @ 2021-03-25 17:38
ttpfx
阅读(40)
评论(0)
推荐(0)
浙公网安备 33010602011771号