public class LocalBAControler extends Object implements BAControler
| Constructor and Description |
|---|
LocalBAControler() |
| 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) |
Object |
getCurrentTransaction() |
boolean |
isBARunning() |
void |
resume(Object context) |
Object |
suspend() |
public void beginBusinessActivity()
throws Exception
beginBusinessActivity in interface BAControlerExceptionpublic void closeBusinessActivity()
throws Exception
closeBusinessActivity in interface BAControlerExceptionpublic void cancelBusinessActivity()
throws Exception
cancelBusinessActivity in interface BAControlerExceptionpublic void completeBusinessActivity(boolean isException)
throws Exception
completeBusinessActivity in interface BAControlerExceptionpublic boolean isBARunning()
isBARunning in interface BAControlerpublic Object suspend() throws Exception
suspend in interface BAControlerExceptionpublic void resume(Object context) throws Exception
resume in interface BAControlerExceptionpublic Object getCurrentTransaction() throws Exception
getCurrentTransaction in interface BAControlerExceptionpublic ParticipantManager enlist(Class<? extends CompensationHandler> compensationHandlerClass, Class<? extends ConfirmationHandler> confirmationHandlerClass, Class<? extends TransactionLoggedHandler> transactionLoggedHandlerClass) throws Exception
enlist in interface BAControlerExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.