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
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 |
platformTransactionManager
protected org.springframework.transaction.PlatformTransactionManager platformTransactionManager
transactionAttributeSource
protected org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource
transactionExecutor
protected TransactionExecutor transactionExecutor
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)
setTransactionExecutor
public void setTransactionExecutor(TransactionExecutor transactionExecutor)
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
- Deprecated. As of 6.1.0, replaced by
setPlatformTransactionManager(PlatformTransactionManager)