spring AOP 基于配置文件

 

创建被增强类

 

 创建增强类

 

 在spring配置文件中创建两个类

 

 

在sping中配置AOP

 

posted @ 2020-09-03 08:54  超级学渣渣  阅读(168)  评论(0编辑  收藏  举报