public class LocalBAController extends Object implements BAController
| Constructor and Description |
|---|
LocalBAController() |
| 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 Exception
beginBusinessActivity in interface BAControllerExceptionpublic void closeBusinessActivity()
throws Exception
closeBusinessActivity in interface BAControllerExceptionpublic void cancelBusinessActivity()
throws Exception
cancelBusinessActivity in interface BAControllerExceptionpublic void completeBusinessActivity(boolean isException)
throws Exception
completeBusinessActivity in interface BAControllerExceptionpublic 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 © 2016 JBoss by Red Hat. All rights reserved.