public class RemoteBAController extends Object implements BAController
| Constructor and Description |
|---|
RemoteBAController() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginBusinessActivity() |
void |
cancelBusinessActivity() |
void |
closeBusinessActivity() |
void |
completeBusinessActivity(boolean isException) |
ParticipantManager |
enlist(Class<? extends CompensationHandler> compensationHandlerClass,
Class<? extends ConfirmationHandler> confirmationHandlerClass,
Class<? extends TransactionLoggedHandler> transactionLoggedHandlerClass) |
ParticipantManager |
enlist(CompensationHandler compensationHandler,
ConfirmationHandler confirmationHandler,
TransactionLoggedHandler transactionLoggedHandler) |
Object |
getCurrentTransaction() |
boolean |
isBARunning() |
void |
resume(Object context) |
Object |
suspend() |
public void beginBusinessActivity()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
beginBusinessActivity in interface BAControllercom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionpublic void closeBusinessActivity()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.UnknownTransactionException,
com.arjuna.wst.TransactionRolledBackException,
com.arjuna.wst.SystemException
closeBusinessActivity in interface BAControllercom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.UnknownTransactionExceptioncom.arjuna.wst.TransactionRolledBackExceptioncom.arjuna.wst.SystemExceptionpublic void cancelBusinessActivity()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.UnknownTransactionException,
com.arjuna.wst.SystemException
cancelBusinessActivity in interface BAControllercom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.UnknownTransactionExceptioncom.arjuna.wst.SystemExceptionpublic void completeBusinessActivity(boolean isException)
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.UnknownTransactionException,
com.arjuna.wst.SystemException
completeBusinessActivity in interface BAControllercom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.UnknownTransactionExceptioncom.arjuna.wst.SystemExceptionpublic boolean isBARunning()
isBARunning in interface BAControllerpublic Object suspend() throws Exception
suspend in interface BAControllerExceptionpublic void resume(Object context) throws Exception
resume in interface BAControllerExceptionpublic Object getCurrentTransaction() throws Exception
getCurrentTransaction in interface BAControllerExceptionpublic ParticipantManager enlist(Class<? extends CompensationHandler> compensationHandlerClass, Class<? extends ConfirmationHandler> confirmationHandlerClass, Class<? extends TransactionLoggedHandler> transactionLoggedHandlerClass) throws Exception
enlist in interface BAControllerExceptionpublic ParticipantManager enlist(CompensationHandler compensationHandler, ConfirmationHandler confirmationHandler, TransactionLoggedHandler transactionLoggedHandler) throws Exception
enlist in interface BAControllerExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.