@Deprecated public interface TxControl
Modifier and Type | Method and Description |
---|---|
void |
fail()
Deprecated.
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
|
void |
readOnly()
Deprecated.
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.
|
void readOnly() throws TXControlRuntimeException
TXControlRuntimeException
void fail() throws TXControlRuntimeException
TXControlRuntimeException
Copyright © 2019 JBoss by Red Hat. All rights reserved.