public static interface HostControllerRegistrationHandler.OperationExecutor
ModelController
to execute
a OperationStepHandler
implementation directly, bypassing normal domain coordination layer.
TODO This interface probably should be adapted to provide use-case-specific methods instead of generic
"execute whatever I hand you" ones. The "installSlaveExtensions" method needed to be non-generic unless
I was willing to hand a ref to the root MRR to RemoteDomainConnnectionService.Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
execute(Operation operation,
OperationMessageHandler handler,
ModelController.OperationTransactionControl control,
OperationStepHandler step)
Execute the operation.
|
org.jboss.dmr.ModelNode |
executeReadOnly(org.jboss.dmr.ModelNode operation,
OperationStepHandler handler,
ModelController.OperationTransactionControl control)
Execute an operation using the current management model.
|
org.jboss.dmr.ModelNode |
executeReadOnly(org.jboss.dmr.ModelNode operation,
Resource model,
OperationStepHandler handler,
ModelController.OperationTransactionControl control)
Execute an operation using given resource model.
|
org.jboss.dmr.ModelNode |
installSlaveExtensions(List<org.jboss.dmr.ModelNode> extensions)
Execute the operation to install extensions provided by a remote domain controller.
|
org.jboss.dmr.ModelNode execute(Operation operation, OperationMessageHandler handler, ModelController.OperationTransactionControl control, OperationStepHandler step)
operation
- operationhandler
- the message handlercontrol
- the transaction controlstep
- the step to be executedorg.jboss.dmr.ModelNode installSlaveExtensions(List<org.jboss.dmr.ModelNode> extensions)
extensions@return
- the resultorg.jboss.dmr.ModelNode executeReadOnly(org.jboss.dmr.ModelNode operation, OperationStepHandler handler, ModelController.OperationTransactionControl control)
operation
- the operationhandler
- the operation handler to useorg.jboss.dmr.ModelNode executeReadOnly(org.jboss.dmr.ModelNode operation, Resource model, OperationStepHandler handler, ModelController.OperationTransactionControl control)
operation
- the operationmodel
- the resource modelhandler
- the operation handler to useCopyright © 2016 JBoss by Red Hat. All rights reserved.