Class ThreadLocalCleanUpSynchronization

  • All Implemented Interfaces:
    Flushable, org.springframework.core.Ordered, org.springframework.transaction.support.TransactionSynchronization

    public class ThreadLocalCleanUpSynchronization
    extends Object
    implements org.springframework.transaction.support.TransactionSynchronization
    A TransactionSynchronization which can clean up ThreadLocal data after it is finish
    • Method Detail

      • afterCompletion

        public void afterCompletion​(int status)
        Specified by:
        afterCompletion in interface org.springframework.transaction.support.TransactionSynchronization