public class DomainTransactionInterceptor extends TransactionInterceptor
TransactionInterceptor
by dynamically setting the appropriate
TransactionAttribute
qualifier according to the authentication domain of the caller - retrieved via
AuthContextUtils.getDomain()
.TransactionAspectSupport.InvocationCallback, TransactionAspectSupport.TransactionInfo
logger
Constructor and Description |
---|
DomainTransactionInterceptor() |
Modifier and Type | Method and Description |
---|---|
TransactionAttributeSource |
getTransactionAttributeSource() |
Object |
invoke(MethodInvocation invocation) |
afterPropertiesSet, cleanupTransactionInfo, clearTransactionManagerCache, commitTransactionAfterReturning, completeTransactionAfterThrowing, createTransactionIfNecessary, currentTransactionInfo, currentTransactionStatus, determineTransactionManager, getBeanFactory, getTransactionManager, getTransactionManagerBeanName, invokeWithinTransaction, methodIdentification, prepareTransactionInfo, setBeanFactory, setTransactionAttributes, setTransactionAttributeSource, setTransactionAttributeSources, setTransactionManager, setTransactionManagerBeanName
public TransactionAttributeSource getTransactionAttributeSource()
getTransactionAttributeSource
in class TransactionAspectSupport
public Object invoke(MethodInvocation invocation) throws Throwable
invoke
in interface MethodInterceptor
invoke
in class TransactionInterceptor
Throwable
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.