How transaction annotations work.
1. First customize an annotation class, public @interface MyComponent.
2 、 TxAdviceBeanDefinitionParser
3. Implement the MethodInterceptor interface for method interception. Such as TransactionInterceptor.
How transaction annotations work.
1. First customize an annotation class, public @interface MyComponent.
2 、 TxAdviceBeanDefinitionParser
3. Implement the MethodInterceptor interface for method interception. Such as TransactionInterceptor.