public static interface ProxyController.ProxyOperationControl extends ModelController.OperationTransactionControl
COMMIT
Modifier and Type | Method and Description |
---|---|
void |
operationCompleted(OperationResponse response)
Handle the final result of an operation, following invocation of
ModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, ModelNode) . |
void |
operationFailed(org.jboss.dmr.ModelNode response)
Handle the result of an operation whose execution failed before
ModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, ModelNode)
could be invoked. |
operationPrepared
void operationFailed(org.jboss.dmr.ModelNode response)
ModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, ModelNode)
could be invoked.response
- the response to the operation.void operationCompleted(OperationResponse response)
ModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, ModelNode)
.
This provides the final response, including any changes made as a result of rolling back the transaction.
This callback will have been invoked by the time the call made to commit()
or rollback()
on the OperationTransaction
provided
to ModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, ModelNode)
has returned.
response
- the responseCopyright © 2023 JBoss by Red Hat. All rights reserved.