public class BusinessActivityManagerImple extends BusinessActivityManager
Constructor and Description |
---|
BusinessActivityManagerImple() |
Modifier and Type | Method and Description |
---|---|
TxContext |
currentTransaction()
The currentTransaction method returns the TxContext for the current
transaction, or null if there is none.
|
BAParticipantManager |
enlistForBusinessAgreementWithCoordinatorCompletion(BusinessAgreementWithCoordinatorCompletionParticipant bawcp,
String id)
Enlist a participant for the BusinessAgreementWithCoordinatorCompletion protocol.
|
BAParticipantManager |
enlistForBusinessAgreementWithParticipantCompletion(BusinessAgreementWithParticipantCompletionParticipant bap,
String id)
Enlist a participant for the BusinessAgreement protocol.
|
void |
resume(TxContext tx)
The resume method can be used to (re-)associate a thread with a
transaction(s) via its TxContext.
|
TxContext |
suspend()
A thread of control may require periods of non-transactionality so that
it may perform work that is not associated with a specific transaction.
|
getBusinessActivityManager, setBusinessActivityManager
public BAParticipantManager enlistForBusinessAgreementWithParticipantCompletion(BusinessAgreementWithParticipantCompletionParticipant bap, String id) throws WrongStateException, UnknownTransactionException, SystemException
BusinessActivityManager
enlistForBusinessAgreementWithParticipantCompletion
in class BusinessActivityManager
WrongStateException
UnknownTransactionException
SystemException
public BAParticipantManager enlistForBusinessAgreementWithCoordinatorCompletion(BusinessAgreementWithCoordinatorCompletionParticipant bawcp, String id) throws WrongStateException, UnknownTransactionException, SystemException
BusinessActivityManager
enlistForBusinessAgreementWithCoordinatorCompletion
in class BusinessActivityManager
WrongStateException
UnknownTransactionException
SystemException
public TxContext suspend() throws SystemException
BusinessActivityManager
suspend
in class BusinessActivityManager
SystemException
public void resume(TxContext tx) throws UnknownTransactionException, SystemException
BusinessActivityManager
resume
in class BusinessActivityManager
UnknownTransactionException
SystemException
public TxContext currentTransaction() throws SystemException
BusinessActivityManager
currentTransaction
in class BusinessActivityManager
SystemException
Copyright © 2019 JBoss by Red Hat. All rights reserved.