Interface BAController
-
- All Known Implementing Classes:
LocalBAController
,RemoteBAController
public interface BAController
- Author:
- [email protected] 19/04/2014
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
completeBusinessActivity
void completeBusinessActivity(boolean isException) throws Exception
- Throws:
Exception
-
isBARunning
boolean isBARunning()
-
enlist
ParticipantManager enlist(Class<? extends CompensationHandler> compensationHandlerClass, Class<? extends ConfirmationHandler> confirmationHandlerClass, Class<? extends TransactionLoggedHandler> transactionLoggedHandlerClass) throws Exception
- Throws:
Exception
-
enlist
ParticipantManager enlist(CompensationHandler compensationHandler, ConfirmationHandler confirmationHandler, TransactionLoggedHandler transactionLoggedHandler) throws Exception
- Throws:
Exception
-
-