Spring註解開發——38、聲明式事務-源碼分析

總結:和AOP原理一樣 1、@EnableTransactionManagement 利用TransactionManagementConfigurationSelector給容器中會導入組件 導入兩個組件 AutoProxyRegistrar ProxyTransactionManagementConfiguration 2、AutoProxyRegistrar 給容器中註冊一個 Infrast
相關文章
相關標籤/搜索