com.liferay.portal.spring.transaction
Class TransactionInterceptor
java.lang.Object
com.liferay.portal.spring.transaction.TransactionInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
- Direct Known Subclasses:
- DynamicDataSourceTransactionInterceptor
public class TransactionInterceptor
- extends Object
- implements org.aopalliance.intercept.MethodInterceptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transactionAttributeSource
protected org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource
TransactionInterceptor
public TransactionInterceptor()
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
setPlatformTransactionManager
public void setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
setTransactionAttributeSource
public void setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource)
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
- Deprecated.
setPlatformTransactionManager(PlatformTransactionManager)
invokeCallbacks
protected void invokeCallbacks()
processThrowable
protected void processThrowable(Throwable throwable,
org.springframework.transaction.interceptor.TransactionAttribute transactionAttribute,
org.springframework.transaction.TransactionStatus transactionStatus)
throws Throwable
- Throws:
Throwable