Spring的事务本身是基于AOP的
AOP代理自动创建器:InfrastructureAdvisorAutoProxyCreator
beanname:org.springframework.aop.config.internalAutoProxyCreator
事务AOP:BeanFactoryTransactionAttributeSourceAdvisor
beanName: org.springframework.transaction.config.internalTransactionAdvisor:
事务advice:TransactionInterceptor: beanName:org.springframework.transaction.interceptor.TransactionInterceptor#0
扫描二维码关注公众号,回复:
300893 查看本文章
事务PointCut:TransactionAttributeSourcePointcut-> AnnotationTransactionAttributeSource->TransactionAnnotationParser->SpringTransactionAnnotationParser