@InterceptorBean(value=org.springframework.transaction.annotation.Transactional.class)
public class TransactionInterceptor
extends org.springframework.transaction.interceptor.TransactionAspectSupport
implements io.micronaut.aop.MethodInterceptor<java.lang.Object,java.lang.Object>
Transactional.org.springframework.transaction.interceptor.TransactionAspectSupport.CoroutinesInvocationCallback, org.springframework.transaction.interceptor.TransactionAspectSupport.InvocationCallback, org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfologger| Constructor and Description | 
|---|
| TransactionInterceptor(io.micronaut.context.BeanLocator beanLocator) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| int | getOrder() | 
| java.lang.Object | intercept(io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context) | 
| protected org.springframework.transaction.interceptor.TransactionAttribute | resolveTransactionAttribute(io.micronaut.inject.ExecutableMethod<java.lang.Object,java.lang.Object> targetMethod,
                           io.micronaut.core.annotation.AnnotationMetadata annotationMetadata,
                           java.lang.String transactionManagerName) | 
cleanupTransactionInfo, clearTransactionManagerCache, commitTransactionAfterReturning, completeTransactionAfterThrowing, createTransactionIfNecessary, currentTransactionInfo, currentTransactionStatus, determineTransactionManager, getBeanFactory, getTransactionAttributeSource, getTransactionManager, getTransactionManagerBeanName, invokeWithinTransaction, methodIdentification, prepareTransactionInfo, setBeanFactory, setTransactionAttributes, setTransactionAttributeSource, setTransactionAttributeSources, setTransactionManager, setTransactionManagerBeanNamepublic TransactionInterceptor(io.micronaut.context.BeanLocator beanLocator)
beanLocator - The BeanLocatorpublic int getOrder()
getOrder in interface io.micronaut.core.order.Orderedpublic final java.lang.Object intercept(io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context)
intercept in interface io.micronaut.aop.MethodInterceptor<java.lang.Object,java.lang.Object>public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.transaction.interceptor.TransactionAspectSupportprotected org.springframework.transaction.interceptor.TransactionAttribute resolveTransactionAttribute(io.micronaut.inject.ExecutableMethod<java.lang.Object,java.lang.Object> targetMethod,
                                                                                                       io.micronaut.core.annotation.AnnotationMetadata annotationMetadata,
                                                                                                       java.lang.String transactionManagerName)
targetMethod - The target methodannotationMetadata - The annotation metadatatransactionManagerName - The transaction managerTransactionAttribute