Liferay 6.1.10-ee-ga1

com.liferay.portal.spring.transaction
Class TransactionInterceptor

java.lang.Object
  extended by 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


Field Summary
protected  org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource
           
 
Constructor Summary
TransactionInterceptor()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
protected  void invokeCallbacks()
           
protected  void processThrowable(Throwable throwable, org.springframework.transaction.interceptor.TransactionAttribute transactionAttribute, org.springframework.transaction.TransactionStatus transactionStatus)
           
 void setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
           
 void setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource)
           
 void setTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
          Deprecated. setPlatformTransactionManager(PlatformTransactionManager)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionAttributeSource

protected org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource
Constructor Detail

TransactionInterceptor

public TransactionInterceptor()
Method Detail

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

Liferay 6.1.10-ee-ga1