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 WSBATxControl
TXControlRuntimeException
public void cannotComplete() throws TXControlRuntimeException
cannotComplete
in interface WSBATxControl
TXControlRuntimeException
public void completed() throws TXControlRuntimeException
completed
in interface BATxControl
TXControlRuntimeException
public void readOnly() throws TXControlRuntimeException
TxControl
readOnly
in interface TxControl
TXControlRuntimeException
public void fail() throws TXControlRuntimeException
TxControl
fail
in interface TxControl
TXControlRuntimeException
public boolean isCannotComplete()
Copyright © 2017 JBoss by Red Hat. All rights reserved.