public static interface ModelController.OperationTransactionControl
Modifier and Type | Field and Description |
---|---|
static ModelController.OperationTransactionControl |
COMMIT
An operation transaction control implementation which always commits the operation.
|
Modifier and Type | Method and Description |
---|---|
void |
operationPrepared(ModelController.OperationTransaction transaction,
org.jboss.dmr.ModelNode result)
Notify that an operation is complete and may be committed or rolled back.
|
static final ModelController.OperationTransactionControl COMMIT
void operationPrepared(ModelController.OperationTransaction transaction, org.jboss.dmr.ModelNode result)
It is the responsibility of the user of this OperationTransactionControl
to ensure that
ModelController.OperationTransaction.commit()
or ModelController.OperationTransaction.rollback()
is eventually called on
the provided transaction
.
transaction
- the transaction to control the fate of the operation. Cannot be null
result
- the result. Cannot be null
Copyright © 2023 JBoss by Red Hat. All rights reserved.