Class CompensatingTransactionObject
java.lang.Object
org.springframework.transaction.compensating.support.CompensatingTransactionObject
Transaction object used by
AbstractCompensatingTransactionManagerDelegate
.
Keeps a reference to the CompensatingTransactionHolderSupport
associated with
the current transaction.- Since:
- 1.2
-
Constructor Summary
ConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the DirContextHolder.void
Set theCompensatingTransactionHolderSupport
associated with the current transaction.
-
Constructor Details
-
CompensatingTransactionObject
Constructor.- Parameters:
holder
- theCompensatingTransactionHolderSupport
associated with the current transaction.
-
-
Method Details
-
getHolder
Get the DirContextHolder.- Returns:
- the DirContextHolder.
-
setHolder
Set theCompensatingTransactionHolderSupport
associated with the current transaction.- Parameters:
holder
- theCompensatingTransactionHolderSupport
associated with the current transaction.
-