public class TccAnnotationProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
| 构造器和说明 |
|---|
TccAnnotationProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addTccAdvise(Object bean,
String beanName,
Field field,
Class interfaceClass)
Add TCC interceptor for tcc proxy bean
|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
protected void |
process(Object bean,
String beanName,
Class<? extends Annotation> annotation)
Process annotation
|
protected void process(Object bean, String beanName, Class<? extends Annotation> annotation)
bean - the beanbeanName - the bean nameannotation - the annotationpublic void addTccAdvise(Object bean, String beanName, Field field, Class interfaceClass) throws IllegalAccessException
bean - the beanbeanName - the bean namefield - the fieldinterfaceClass - the interface classIllegalAccessException - the illegal access exceptionpublic Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionCopyright © 2022 Seata. All rights reserved.