public interface ModelController
Modifier and Type | Interface and Description |
---|---|
static interface |
ModelController.OperationTransaction
An operation transaction.
|
static interface |
ModelController.OperationTransactionControl
A callback interface for the operation's completion status.
|
Modifier and Type | Field and Description |
---|---|
static RuntimePermission |
ACCESS_PERMISSION
A
RuntimePermission needed to access a ModelController via Value.getValue() or
to invoke its methods. |
Modifier and Type | Method and Description |
---|---|
ModelControllerClient |
createClient(Executor executor)
Create an in-VM client.
|
org.jboss.dmr.ModelNode |
execute(org.jboss.dmr.ModelNode operation,
OperationMessageHandler handler,
ModelController.OperationTransactionControl control,
OperationAttachments attachments)
Execute an operation, sending updates to the given handler.
|
static final RuntimePermission ACCESS_PERMISSION
RuntimePermission
needed to access a ModelController
via Value.getValue()
or
to invoke its methods. The name of the necessary RuntimePermission
is "canAccessModelController
."org.jboss.dmr.ModelNode execute(org.jboss.dmr.ModelNode operation, OperationMessageHandler handler, ModelController.OperationTransactionControl control, OperationAttachments attachments)
operation
- the operation to executehandler
- the message handlercontrol
- the transaction control for this operationattachments
- the operation attachmentsSecurityException
- if the caller does not have ACCESS_PERMISSION
ModelControllerClient createClient(Executor executor)
executor
- the executor to use for asynchronous operation executionSecurityException
- if the caller does not have ACCESS_PERMISSION
Copyright © 2015 JBoss by Red Hat. All rights reserved.