Package org.jboss.as.controller
Interface ProxyController.ProxyOperationControl
-
- All Superinterfaces:
ModelController.OperationTransactionControl
- Enclosing interface:
- ProxyController
public static interface ProxyController.ProxyOperationControl extends ModelController.OperationTransactionControl
-
-
Field Summary
-
Fields inherited from interface org.jboss.as.controller.ModelController.OperationTransactionControl
COMMIT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
operationCompleted(OperationResponse response)
Handle the final result of an operation, following invocation ofModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, ModelNode)
.void
operationFailed(org.jboss.dmr.ModelNode response)
Handle the result of an operation whose execution failed beforeModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, ModelNode)
could be invoked.-
Methods inherited from interface org.jboss.as.controller.ModelController.OperationTransactionControl
operationPrepared, operationPrepared
-
-
-
-
Method Detail
-
operationFailed
void operationFailed(org.jboss.dmr.ModelNode response)
Handle the result of an operation whose execution failed beforeModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, ModelNode)
could be invoked.- Parameters:
response
- the response to the operation.
-
operationCompleted
void operationCompleted(OperationResponse response)
Handle the final result of an operation, following invocation ofModelController.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()
orrollback()
on theOperationTransaction
provided toModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, ModelNode)
has returned.- Parameters:
response
- the response
-
-