public interface ProxyController
[a=b,c=d]
, then an operation executed in the host ModelController for
[a=b]
will execute in the host model controller as normal. An operation for
[a=b,c=d,x=y]
will apply to [x=y]
in the model controller
pointed to by this proxy controller.Modifier and Type | Interface and Description |
---|---|
static interface |
ProxyController.ProxyOperationControl |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.jboss.dmr.ModelNode operation,
OperationMessageHandler handler,
ProxyController.ProxyOperationControl control,
OperationAttachments attachments,
BlockingTimeout blockingTimeout)
Execute an operation, sending updates to the given handler and receiving the response via the given
ModelController.OperationTransactionControl . |
default ModelVersion |
getKernelModelVersion()
Gets the
ModelVersion of the kernel management API exposed by the proxied process. |
PathAddress |
getProxyNodeAddress()
Get the address where this proxy controller applies to in the host ModelController
|
PathAddress getProxyNodeAddress()
void execute(org.jboss.dmr.ModelNode operation, OperationMessageHandler handler, ProxyController.ProxyOperationControl control, OperationAttachments attachments, BlockingTimeout blockingTimeout)
ModelController.OperationTransactionControl
. When this operation returns, either the
ModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction, org.jboss.dmr.ModelNode)
or the ProxyController.ProxyOperationControl.operationFailed(org.jboss.dmr.ModelNode)
callbacks on the given control
will have been invoked.operation
- the operation to execute. Cannot be null
handler
- the message handler. May be null
control
- the callback handler for this operation. Cannot be null
attachments
- the operation attachments. May be null
blockingTimeout
- control for maximum period any blocking operations can block. Cannot be null
default ModelVersion getKernelModelVersion()
ModelVersion
of the kernel management API exposed by the proxied process.null
Copyright © 2023 JBoss by Red Hat. All rights reserved.