public class ChangeSetBackedTransactionSynchronization extends Object implements TransactionSynchronization
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
Constructor and Description |
---|
ChangeSetBackedTransactionSynchronization(ChangeSetPersister<Object> changeSetPersister,
ChangeSetBacked entity) |
Modifier and Type | Method and Description |
---|---|
void |
afterCommit() |
void |
afterCompletion(int status) |
void |
beforeCommit(boolean readOnly) |
void |
beforeCompletion() |
void |
flush() |
void |
resume() |
void |
suspend() |
public ChangeSetBackedTransactionSynchronization(ChangeSetPersister<Object> changeSetPersister, ChangeSetBacked entity)
public void afterCommit()
afterCommit
in interface TransactionSynchronization
public void afterCompletion(int status)
afterCompletion
in interface TransactionSynchronization
public void beforeCommit(boolean readOnly)
beforeCommit
in interface TransactionSynchronization
public void beforeCompletion()
beforeCompletion
in interface TransactionSynchronization
public void flush()
flush
in interface Flushable
flush
in interface TransactionSynchronization
public void resume()
resume
in interface TransactionSynchronization
public void suspend()
suspend
in interface TransactionSynchronization
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.