public class TccActionInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor, ConfigurationChangeListener, org.springframework.core.Ordered
| 限定符和类型 | 字段和说明 |
|---|---|
protected RemotingDesc |
remotingDesc
remoting bean info
|
CORE_LISTENER_THREAD, EXECUTOR_SERVICE, MAX_LISTENER_THREAD| 构造器和说明 |
|---|
TccActionInterceptor()
Instantiates a new Tcc action interceptor.
|
TccActionInterceptor(RemotingDesc remotingDesc)
Instantiates a new Tcc action interceptor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected Method |
getActionInterfaceMethod(org.aopalliance.intercept.MethodInvocation invocation)
get the method from interface
|
int |
getOrder() |
protected Class<?> |
getProxyInterface(Object proxyBean)
get the interface of proxy
|
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
void |
onChangeEvent(ConfigurationChangeEvent event)
Process.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterEvent, beforeEvent, getExecutorService, onProcessEvent, onShutDownprotected RemotingDesc remotingDesc
public TccActionInterceptor()
public TccActionInterceptor(RemotingDesc remotingDesc)
remotingDesc - the remoting descpublic Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke 在接口中 org.aopalliance.intercept.MethodInterceptorThrowableprotected Method getActionInterfaceMethod(org.aopalliance.intercept.MethodInvocation invocation)
invocation - the invocation@Nullable protected Class<?> getProxyInterface(Object proxyBean) throws Exception
proxyBean - the proxy beanException - the exceptionpublic void onChangeEvent(ConfigurationChangeEvent event)
ConfigurationChangeListeneronChangeEvent 在接口中 ConfigurationChangeListenerevent - the eventpublic int getOrder()
getOrder 在接口中 org.springframework.core.OrderedCopyright © 2022 Seata. All rights reserved.