Spring Data Commons

org.springframework.data.crossstore
Class ChangeSetBackedTransactionSynchronization

java.lang.Object
  extended by org.springframework.data.crossstore.ChangeSetBackedTransactionSynchronization
All Implemented Interfaces:
org.springframework.transaction.support.TransactionSynchronization

public class ChangeSetBackedTransactionSynchronization
extends java.lang.Object
implements org.springframework.transaction.support.TransactionSynchronization


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
 
Constructor Summary
ChangeSetBackedTransactionSynchronization(ChangeSetPersister<java.lang.Object> changeSetPersister, ChangeSetBacked entity)
           
 
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
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

ChangeSetBackedTransactionSynchronization

public ChangeSetBackedTransactionSynchronization(ChangeSetPersister<java.lang.Object> changeSetPersister,
                                                 ChangeSetBacked entity)
Method Detail

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

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

flush

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

resume

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

suspend

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

Spring Data Commons

Copyright © 2012. All Rights Reserved.