摘要:
一、ApplicationListener 接口 ApplicationListener:监听容器中发布的事件。事件驱动模型开发; public interface ApplicationListener<E extends ApplicationEvent> 监听 ApplicationEvent 阅读全文
posted @ 2021-11-16 21:42
格物致知_Tony
阅读(85)
评论(0)
推荐(0)
摘要:
一、BeanDefinitionRegistryPostProcessor 接口 BeanDefinitionRegistryPostProcessor 继承结构: BeanDefinitionRegistryPostProcessor extends BeanFactoryPostProcesso 阅读全文
posted @ 2021-11-16 13:01
格物致知_Tony
阅读(141)
评论(0)
推荐(0)
摘要:
一、BeanFactoryPostProcessor 接口 BeanFactoryPostProcessor:BeanFactory 的后置处理器 作用: 在 BeanFactory 标准初始化之后调用,来定制和修改 BeanFactory 的内容; 所有的 bean 定义信息已经保存加载到 bea 阅读全文
posted @ 2021-11-16 10:46
格物致知_Tony
阅读(36)
评论(0)
推荐(0)
摘要:
事务原理: 原理: 1)、@EnableTransactionManagement 注解 利用 TransactionManagementConfigurationSelector 给容器中会导入组件 导入两个组件: AutoProxyRegistrar ProxyTransactionManage 阅读全文
posted @ 2021-11-16 10:38
格物致知_Tony
阅读(44)
评论(0)
推荐(0)
浙公网安备 33010602011771号