public class WSBATxControlImpl extends Object implements WSBATxControl
| Constructor and Description |
|---|
WSBATxControlImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cannotComplete() |
void |
completed() |
void |
exit() |
void |
fail()
this method can be called from a web service or lifecycle method to notify the framework that the
transaction has failed and may have left the service in an inconsistent state
|
boolean |
isCannotComplete() |
void |
readOnly()
this method can be called from a web service method while a transaction is active to notify the
framework that no changes have been made during execution of the service method.
|
static void |
resume(BAParticipantManager baParticipantManager) |
static void |
suspend() |
public static void resume(BAParticipantManager baParticipantManager)
public static void suspend()
public void exit()
throws TXControlRuntimeException
exit in interface WSBATxControlTXControlRuntimeExceptionpublic void cannotComplete()
throws TXControlRuntimeException
cannotComplete in interface WSBATxControlTXControlRuntimeExceptionpublic void completed()
throws TXControlRuntimeException
completed in interface BATxControlTXControlRuntimeExceptionpublic void readOnly()
throws TXControlRuntimeException
TxControlreadOnly in interface TxControlTXControlRuntimeExceptionpublic void fail()
throws TXControlRuntimeException
TxControlfail in interface TxControlTXControlRuntimeExceptionpublic boolean isCannotComplete()
Copyright © 2018 JBoss by Red Hat. All rights reserved.