public class TccActionInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor, ConfigurationChangeListener, org.springframework.core.Ordered
| Modifier and Type | Field and Description |
|---|---|
protected RemotingDesc |
remotingDesc
remoting bean info
|
CORE_LISTENER_THREAD, EXECUTOR_SERVICE, MAX_LISTENER_THREAD| Constructor and Description |
|---|
TccActionInterceptor()
Instantiates a new Tcc action interceptor.
|
TccActionInterceptor(RemotingDesc remotingDesc)
Instantiates a new Tcc action interceptor.
|
| Modifier and Type | Method and Description |
|---|---|
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 in interface 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 in interface ConfigurationChangeListenerevent - the eventpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2022 Seata. All rights reserved.