Class DsTxListenerMethodAdapter
java.lang.Object
org.springframework.context.event.ApplicationListenerMethodAdapter
com.baomidou.dynamic.datasource.tx.DsTxListenerMethodAdapter
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>,org.springframework.context.event.GenericApplicationListener,org.springframework.context.event.SmartApplicationListener,org.springframework.core.Ordered
public class DsTxListenerMethodAdapter
extends org.springframework.context.event.ApplicationListenerMethodAdapter
DsTxListenerMethodAdapter Referenced from org.springframework.transaction.event.TransactionalApplicationListenerMethodAdapter
-
Field Summary
Fields inherited from class org.springframework.context.event.ApplicationListenerMethodAdapter
loggerFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionDsTxListenerMethodAdapter(String beanName, Class<?> targetClass, Method method) -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.context.ApplicationEvent event) Methods inherited from class org.springframework.context.event.ApplicationListenerMethodAdapter
doInvoke, getCondition, getDefaultListenerId, getDetailedErrorMessage, getListenerId, getOrder, getTargetBean, getTargetMethod, handleAsyncError, handleResult, processEvent, resolveArguments, supportsEventType, supportsSourceType, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.context.event.GenericApplicationListener
supportsEventType
-
Constructor Details
-
DsTxListenerMethodAdapter
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>- Overrides:
onApplicationEventin classorg.springframework.context.event.ApplicationListenerMethodAdapter
-