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, setBusinessActivityManagerpublic BAParticipantManager enlistForBusinessAgreementWithParticipantCompletion(BusinessAgreementWithParticipantCompletionParticipant bap, String id) throws WrongStateException, UnknownTransactionException, SystemException
BusinessActivityManagerenlistForBusinessAgreementWithParticipantCompletion in class BusinessActivityManagerWrongStateExceptionUnknownTransactionExceptionSystemExceptionpublic BAParticipantManager enlistForBusinessAgreementWithCoordinatorCompletion(BusinessAgreementWithCoordinatorCompletionParticipant bawcp, String id) throws WrongStateException, UnknownTransactionException, SystemException
BusinessActivityManagerenlistForBusinessAgreementWithCoordinatorCompletion in class BusinessActivityManagerWrongStateExceptionUnknownTransactionExceptionSystemExceptionpublic TxContext suspend() throws SystemException
BusinessActivityManagersuspend in class BusinessActivityManagerSystemExceptionpublic void resume(TxContext tx) throws UnknownTransactionException, SystemException
BusinessActivityManagerresume in class BusinessActivityManagerUnknownTransactionExceptionSystemExceptionpublic TxContext currentTransaction() throws SystemException
BusinessActivityManagercurrentTransaction in class BusinessActivityManagerSystemExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.