Spring源码解析
初始化 参考Spring IOC源码解析 事物 参考:https://www.cnblogs.com/dennyzhangdd/p/9602673.html PlatformTransactionManager 接口 TransactionStatus getTransaction(@Nullable TransactionDefinition definition) throws TransactionException; void commit(TransactionStatus status) throws TransactionException; void rollback(TransactionStatus status) throws TransactionException; TransactionAspectSupport TransactionInterceptor 123456789101112// 存在事物调用时才会进入此拦截器@Override@Nullablepublic Object invoke(MethodInvocation invocation) throws Throwable { // Work out the target class: may be {@code null}. // T ...