public class GlobalTransactionScanner
extends org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean
| 构造器和说明 |
|---|
GlobalTransactionScanner(String txServiceGroup)
Instantiates a new Global transaction scanner.
|
GlobalTransactionScanner(String txServiceGroup,
int mode)
Instantiates a new Global transaction scanner.
|
GlobalTransactionScanner(String applicationId,
String txServiceGroup)
Instantiates a new Global transaction scanner.
|
GlobalTransactionScanner(String applicationId,
String txServiceGroup,
FailureHandler failureHandlerHook)
Instantiates a new Global transaction scanner.
|
GlobalTransactionScanner(String applicationId,
String txServiceGroup,
int mode)
Instantiates a new Global transaction scanner.
|
GlobalTransactionScanner(String applicationId,
String txServiceGroup,
int mode,
FailureHandler failureHandlerHook)
Instantiates a new Global transaction scanner.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
protected Object[] |
getAdvicesAndAdvisorsForBean(Class beanClass,
String beanName,
org.springframework.aop.TargetSource customTargetSource) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected Object |
wrapIfNecessary(Object bean,
String beanName,
Object cacheKey) |
advisorsPreFiltered, buildAdvisors, createProxy, customizeProxyFactory, determineCandidateConstructors, getBeanFactory, getCacheKey, getCustomTargetSource, getEarlyBeanReference, isFrozen, isInfrastructureClass, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanType, setAdvisorAdapterRegistry, setApplyCommonInterceptorsFirst, setBeanFactory, setCustomTargetSourceCreators, setFrozen, setInterceptorNames, shouldProxyTargetClass, shouldSkipevaluateProxyInterfaces, getOrder, getProxyClassLoader, isConfigurationCallbackInterface, isInternalLanguageInterface, setBeanClassLoader, setOrder, setProxyClassLoaderpublic GlobalTransactionScanner(String txServiceGroup)
txServiceGroup - the tx service grouppublic GlobalTransactionScanner(String txServiceGroup, int mode)
txServiceGroup - the tx service groupmode - the modepublic GlobalTransactionScanner(String applicationId, String txServiceGroup)
applicationId - the application idtxServiceGroup - the default server grouppublic GlobalTransactionScanner(String applicationId, String txServiceGroup, int mode)
applicationId - the application idtxServiceGroup - the tx service groupmode - the modepublic GlobalTransactionScanner(String applicationId, String txServiceGroup, FailureHandler failureHandlerHook)
applicationId - the application idtxServiceGroup - the tx service groupfailureHandlerHook - the failure handler hookpublic GlobalTransactionScanner(String applicationId, String txServiceGroup, int mode, FailureHandler failureHandlerHook)
applicationId - the application idtxServiceGroup - the tx service groupmode - the modefailureHandlerHook - the failure handler hookpublic void destroy()
destroy 在接口中 org.springframework.beans.factory.DisposableBeanprotected Object wrapIfNecessary(Object bean, String beanName, Object cacheKey)
wrapIfNecessary 在类中 org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreatorprotected Object[] getAdvicesAndAdvisorsForBean(Class beanClass, String beanName, org.springframework.aop.TargetSource customTargetSource) throws org.springframework.beans.BeansException
getAdvicesAndAdvisorsForBean 在类中 org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreatororg.springframework.beans.BeansExceptionpublic void afterPropertiesSet()
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessorpostProcessBeforeInitialization 在类中 org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreatororg.springframework.beans.BeansExceptionCopyright © 2019 Seata. All rights reserved.