Class SpringTransactionContext.TransactionSynchronizationAdapter

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

    protected abstract class SpringTransactionContext.TransactionSynchronizationAdapter
    extends Object
    implements org.springframework.transaction.support.TransactionSynchronization
    • Constructor Detail

      • TransactionSynchronizationAdapter

        protected TransactionSynchronizationAdapter()
    • Method Detail

      • suspend

        public void suspend()
        Specified by:
        suspend in interface org.springframework.transaction.support.TransactionSynchronization
      • resume

        public void resume()
        Specified by:
        resume in interface org.springframework.transaction.support.TransactionSynchronization
      • flush

        public void flush()
        Specified by:
        flush in interface Flushable
        Specified by:
        flush in interface org.springframework.transaction.support.TransactionSynchronization
      • beforeCommit

        public void beforeCommit​(boolean readOnly)
        Specified by:
        beforeCommit in interface org.springframework.transaction.support.TransactionSynchronization
      • beforeCompletion

        public void beforeCompletion()
        Specified by:
        beforeCompletion in interface org.springframework.transaction.support.TransactionSynchronization
      • afterCommit

        public void afterCommit()
        Specified by:
        afterCommit in interface org.springframework.transaction.support.TransactionSynchronization
      • afterCompletion

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