public class IntegrationResourceHolderSynchronization extends org.springframework.transaction.support.ResourceHolderSynchronization<IntegrationResourceHolder,java.lang.Object>
ResourceHolderSynchronization for IntegrationResourceHolder.| Modifier and Type | Field and Description |
|---|---|
protected IntegrationResourceHolder |
resourceHolder |
| Constructor and Description |
|---|
IntegrationResourceHolderSynchronization(IntegrationResourceHolder resourceHolder,
java.lang.Object resourceKey) |
| Modifier and Type | Method and Description |
|---|---|
IntegrationResourceHolder |
getResourceHolder() |
void |
setShouldUnbindAtCompletion(boolean shouldUnbindAtCompletion)
Specify if the
resourceHolder should be unbound from the Thread Local store
at transaction completion or not. |
protected boolean |
shouldUnbindAtCompletion() |
afterCommit, afterCompletion, beforeCommit, beforeCompletion, cleanupResource, flush, flushResource, processResourceAfterCommit, releaseResource, resume, shouldReleaseAfterCompletion, shouldReleaseBeforeCompletion, suspendprotected final IntegrationResourceHolder resourceHolder
public IntegrationResourceHolderSynchronization(IntegrationResourceHolder resourceHolder, java.lang.Object resourceKey)
public IntegrationResourceHolder getResourceHolder()
public void setShouldUnbindAtCompletion(boolean shouldUnbindAtCompletion)
resourceHolder should be unbound from the Thread Local store
at transaction completion or not. Default true.shouldUnbindAtCompletion - unbind or not resourceHolder
at transaction completionprotected boolean shouldUnbindAtCompletion()
shouldUnbindAtCompletion in class org.springframework.transaction.support.ResourceHolderSynchronization<IntegrationResourceHolder,java.lang.Object>