org.squashtest.tm.service.internal.campaign
Class AutomatedRunTransactionHandler

java.lang.Object
  extended by org.squashtest.tm.service.internal.campaign.AutomatedRunTransactionHandler
All Implemented Interfaces:
org.springframework.transaction.support.TransactionSynchronization

public class AutomatedRunTransactionHandler
extends Object
implements org.springframework.transaction.support.TransactionSynchronization

This class has been created to avoid [Issue 1531]

Author:
mpagnon
See Also:
CustomIterationModificationServiceImpl.createAndStartAutomatedSuite(java.util.List)

Field Summary
 
Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
 
Constructor Summary
AutomatedRunTransactionHandler(org.squashtest.tm.domain.testautomation.AutomatedSuite suite, InsecureTestAutomationManagementService testAutomationService)
           
 
Method Summary
 void afterCommit()
           
 void afterCompletion(int status)
           
 void beforeCommit(boolean readOnly)
           
 void beforeCompletion()
           
 void flush()
           
 void resume()
           
 void suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomatedRunTransactionHandler

public AutomatedRunTransactionHandler(org.squashtest.tm.domain.testautomation.AutomatedSuite suite,
                                      InsecureTestAutomationManagementService testAutomationService)
Method Detail

suspend

public void suspend()
Specified by:
suspend in interface org.springframework.transaction.support.TransactionSynchronization

resume

public void resume()
Specified by:
resume in interface org.springframework.transaction.support.TransactionSynchronization

flush

public void flush()
Specified by:
flush in interface org.springframework.transaction.support.TransactionSynchronization

beforeCommit

public void beforeCommit(boolean readOnly)
Specified by:
beforeCommit in interface org.springframework.transaction.support.TransactionSynchronization

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface org.springframework.transaction.support.TransactionSynchronization

afterCommit

public void afterCommit()
Specified by:
afterCommit in interface org.springframework.transaction.support.TransactionSynchronization

afterCompletion

public void afterCompletion(int status)
Specified by:
afterCompletion in interface org.springframework.transaction.support.TransactionSynchronization


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.