Class TransactionContextManagerImpl
- java.lang.Object
-
- com.anaptecs.jeaf.core.servicechannel.base.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 Summary
Constructors Constructor Description TransactionContextManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.anaptecs.jeaf.core.api.TxContext
getCurrentTransactionContext()
Method returns the current transaction context.boolean
isTransactionContextAvailable()
void
setToCurrentTxContext(com.anaptecs.jeaf.core.api.TxContext pTxContext)
Method sets this TxContext object to the current context.void
unsetAsCurrentTxContext(com.anaptecs.jeaf.core.api.TxContext pTxContext)
Method removes this context object as current.
-
-
-
Method Detail
-
getCurrentTransactionContext
public com.anaptecs.jeaf.core.api.TxContext getCurrentTransactionContext()
Method returns the current transaction context.- Specified by:
getCurrentTransactionContext
in interfacecom.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 interfacecom.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 interfacecom.anaptecs.jeaf.core.servicechannel.api.TransactionContextManager
-
isTransactionContextAvailable
public boolean isTransactionContextAvailable()
- Specified by:
isTransactionContextAvailable
in interfacecom.anaptecs.jeaf.core.servicechannel.api.TransactionContextManager
-
-