public class TCCBeanParserUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static RemotingDesc |
getRemotingDesc(String beanName)
get the remoting description of TCC bean
|
protected static boolean |
isRemotingFactoryBean(Object bean,
String beanName,
org.springframework.context.ApplicationContext applicationContext)
if it is proxy bean, check if the FactoryBean is Remoting bean
|
static boolean |
isTccAutoProxy(Object bean,
String beanName,
org.springframework.context.ApplicationContext applicationContext)
is auto proxy TCC bean
|
protected static boolean |
isTccProxyTargetBean(RemotingDesc remotingDesc)
is TCC proxy-bean/target-bean: LocalTCC , the proxy bean of sofa:reference/dubbo:reference
|
protected static boolean |
parserRemotingServiceInfo(Object bean,
String beanName)
get remoting bean info: sofa:service, sofa:reference, dubbo:reference, dubbo:service
|
public static boolean isTccAutoProxy(Object bean, String beanName, org.springframework.context.ApplicationContext applicationContext)
bean - the beanbeanName - the bean nameapplicationContext - the application contextprotected static boolean isRemotingFactoryBean(Object bean, String beanName, org.springframework.context.ApplicationContext applicationContext)
bean - the beanbeanName - the bean nameapplicationContext - the application contextprotected static boolean isTccProxyTargetBean(RemotingDesc remotingDesc)
remotingDesc - the remoting descprotected static boolean parserRemotingServiceInfo(Object bean, String beanName)
bean - the beanbeanName - the bean namepublic static RemotingDesc getRemotingDesc(String beanName)
beanName - the bean nameCopyright © 2020 Seata. All rights reserved.