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 WrongStateException, SystemException
beginBusinessActivity
in interface BAController
WrongStateException
SystemException
public void closeBusinessActivity() throws WrongStateException, UnknownTransactionException, TransactionRolledBackException, SystemException
closeBusinessActivity
in interface BAController
WrongStateException
UnknownTransactionException
TransactionRolledBackException
SystemException
public void cancelBusinessActivity() throws WrongStateException, UnknownTransactionException, SystemException
cancelBusinessActivity
in interface BAController
WrongStateException
UnknownTransactionException
SystemException
public void completeBusinessActivity(boolean isException) throws WrongStateException, UnknownTransactionException, SystemException
completeBusinessActivity
in interface BAController
WrongStateException
UnknownTransactionException
SystemException
public boolean isBARunning()
isBARunning
in interface BAController
public Object suspend() throws Exception
suspend
in interface BAController
Exception
public void resume(Object context) throws Exception
resume
in interface BAController
Exception
public Object getCurrentTransaction() throws Exception
getCurrentTransaction
in interface BAController
Exception
public ParticipantManager enlist(Class<? extends CompensationHandler> compensationHandlerClass, Class<? extends ConfirmationHandler> confirmationHandlerClass, Class<? extends TransactionLoggedHandler> transactionLoggedHandlerClass) throws Exception
enlist
in interface BAController
Exception
public ParticipantManager enlist(CompensationHandler compensationHandler, ConfirmationHandler confirmationHandler, TransactionLoggedHandler transactionLoggedHandler) throws Exception
enlist
in interface BAController
Exception
Copyright © 2021 JBoss by Red Hat. All rights reserved.