02 2021 档案

摘要:@EnableTransactionManagement @Import({TransactionManagementConfigurationSelector.class}组件导入了两个组件 AutoProxyRegistrar ProxyTransactionManagementConfigur 阅读全文
posted @ 2021-02-22 11:24 暖暖-木木 阅读(128) 评论(0) 推荐(0)
摘要:BeanFactory 和 FactoryBean的区别? BeanFactory是个bean工厂,也就是IOC容器或对象工厂,在Spring中,所有的Bean都是由BeanFactory(也就是IOC容器)来进行管理的,提供了实例化对象和获取对象的功能。是IOC最基本的容器,负责生产和管理bean 阅读全文
posted @ 2021-02-18 15:38 暖暖-木木 阅读(524) 评论(0) 推荐(0)
摘要:基本概念 概念 1.Aspect(切面): Aspect 声明类似于 Java 中的类声明,在 Aspect 中会包含着一些 Pointcut 以及相应的 Advice。 添加注解的类:@Aspect@Componentpublic class AopDemoServices 2.Joint poi 阅读全文
posted @ 2021-02-05 16:33 暖暖-木木 阅读(116) 评论(0) 推荐(0)