Class IntegrationResourceHolderSynchronization

java.lang.Object
org.springframework.transaction.support.ResourceHolderSynchronization<IntegrationResourceHolder,​java.lang.Object>
org.springframework.integration.transaction.IntegrationResourceHolderSynchronization
All Implemented Interfaces:
java.io.Flushable, org.springframework.core.Ordered, org.springframework.transaction.support.TransactionSynchronization

public class IntegrationResourceHolderSynchronization
extends org.springframework.transaction.support.ResourceHolderSynchronization<IntegrationResourceHolder,​java.lang.Object>
The base ResourceHolderSynchronization for IntegrationResourceHolder.
Since:
4.0
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected IntegrationResourceHolder resourceHolder  

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE

    Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization

    STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
  • Constructor Summary

    Constructors 
    Constructor Description
    IntegrationResourceHolderSynchronization​(IntegrationResourceHolder resourceHolder, java.lang.Object resourceKey)  
  • Method Summary

    Modifier and Type Method 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()  

    Methods inherited from class org.springframework.transaction.support.ResourceHolderSynchronization

    afterCommit, afterCompletion, beforeCommit, beforeCompletion, cleanupResource, flush, flushResource, processResourceAfterCommit, releaseResource, resume, shouldReleaseAfterCompletion, shouldReleaseBeforeCompletion, suspend

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.transaction.support.TransactionSynchronization

    getOrder