|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.transaction.compensating.support.AbstractCompensatingTransactionManagerDelegate
public abstract class AbstractCompensatingTransactionManagerDelegate
Abstract superclass for Compensating TransactionManager delegates. The actual transaction work is extracted to a delegate to enable composite Transaction Managers.
Constructor Summary | |
---|---|
AbstractCompensatingTransactionManagerDelegate()
|
Method Summary | |
---|---|
protected abstract void |
closeTargetResource(CompensatingTransactionHolderSupport transactionHolderSupport)
Close the target resource - the implementation specific resource held in the specified CompensatingTransactionHolderSupport . |
void |
doBegin(Object transaction,
TransactionDefinition definition)
|
void |
doCleanupAfterCompletion(Object transaction)
|
void |
doCommit(DefaultTransactionStatus status)
|
Object |
doGetTransaction()
|
void |
doRollback(DefaultTransactionStatus status)
|
protected abstract CompensatingTransactionHolderSupport |
getNewHolder()
Get a new implementation specific CompensatingTransactionHolderSupport instance. |
protected abstract Object |
getTransactionSynchronizationKey()
Get the key (normally, a DataSource or similar) that should be used for transaction synchronization. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCompensatingTransactionManagerDelegate()
Method Detail |
---|
protected abstract void closeTargetResource(CompensatingTransactionHolderSupport transactionHolderSupport)
CompensatingTransactionHolderSupport
.
transactionHolderSupport
- the
CompensatingTransactionHolderSupport
that holds the transaction
specific target resource.protected abstract CompensatingTransactionHolderSupport getNewHolder()
CompensatingTransactionHolderSupport
instance.
CompensatingTransactionHolderSupport
instance.protected abstract Object getTransactionSynchronizationKey()
public Object doGetTransaction() throws TransactionException
TransactionException
public void doBegin(Object transaction, TransactionDefinition definition) throws TransactionException
TransactionException
public void doCommit(DefaultTransactionStatus status) throws TransactionException
TransactionException
public void doRollback(DefaultTransactionStatus status) throws TransactionException
TransactionException
public void doCleanupAfterCompletion(Object transaction)
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |