Liferay 7.0-ga1 portal-impl

com.liferay.portal.spring.transaction
Class DefaultTransactionExecutor

java.lang.Object
  extended by com.liferay.portal.spring.transaction.DefaultTransactionExecutor
All Implemented Interfaces:
TransactionExecutor, TransactionHandler

public class DefaultTransactionExecutor
extends Object
implements TransactionExecutor, TransactionHandler


Constructor Summary
DefaultTransactionExecutor()
           
 
Method Summary
 void commit(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, TransactionAttributeAdapter transactionAttributeAdapter, TransactionStatusAdapter transactionStatusAdapter)
           
 Object execute(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, TransactionAttributeAdapter transactionAttributeAdapter, org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 void rollback(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, Throwable throwable, TransactionAttributeAdapter transactionAttributeAdapter, TransactionStatusAdapter transactionStatusAdapter)
           
 TransactionStatusAdapter start(org.springframework.transaction.PlatformTransactionManager platformTransactionManager, TransactionAttributeAdapter transactionAttributeAdapter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTransactionExecutor

public DefaultTransactionExecutor()
Method Detail

commit

public void commit(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
                   TransactionAttributeAdapter transactionAttributeAdapter,
                   TransactionStatusAdapter transactionStatusAdapter)
Specified by:
commit in interface TransactionHandler

execute

public Object execute(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
                      TransactionAttributeAdapter transactionAttributeAdapter,
                      org.aopalliance.intercept.MethodInvocation methodInvocation)
               throws Throwable
Specified by:
execute in interface TransactionExecutor
Throws:
Throwable

rollback

public void rollback(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
                     Throwable throwable,
                     TransactionAttributeAdapter transactionAttributeAdapter,
                     TransactionStatusAdapter transactionStatusAdapter)
              throws Throwable
Specified by:
rollback in interface TransactionHandler
Throws:
Throwable

start

public TransactionStatusAdapter start(org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
                                      TransactionAttributeAdapter transactionAttributeAdapter)
Specified by:
start in interface TransactionHandler

Liferay 7.0-ga1 portal-impl