Class TransactionContextManagerImpl

  • All Implemented Interfaces:
    com.anaptecs.jeaf.core.servicechannel.api.TransactionContextManager

    public class TransactionContextManagerImpl
    extends java.lang.Object
    implements com.anaptecs.jeaf.core.servicechannel.api.TransactionContextManager
    • Constructor Detail

      • TransactionContextManagerImpl

        public TransactionContextManagerImpl()
    • Method Detail

      • getCurrentTransactionContext

        public com.anaptecs.jeaf.core.api.TxContext getCurrentTransactionContext()
        Method returns the current transaction context.
        Specified by:
        getCurrentTransactionContext in interface com.anaptecs.jeaf.core.servicechannel.api.TransactionContextManager
        Returns:
        TxContext Current transaction context or null if none is running.
      • setToCurrentTxContext

        public void setToCurrentTxContext​(com.anaptecs.jeaf.core.api.TxContext pTxContext)
        Method sets this TxContext object to the current context.
        Specified by:
        setToCurrentTxContext in interface com.anaptecs.jeaf.core.servicechannel.api.TransactionContextManager
      • unsetAsCurrentTxContext

        public void unsetAsCurrentTxContext​(com.anaptecs.jeaf.core.api.TxContext pTxContext)
        Method removes this context object as current.
        Specified by:
        unsetAsCurrentTxContext in interface com.anaptecs.jeaf.core.servicechannel.api.TransactionContextManager
      • isTransactionContextAvailable

        public boolean isTransactionContextAvailable()
        Specified by:
        isTransactionContextAvailable in interface com.anaptecs.jeaf.core.servicechannel.api.TransactionContextManager