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 Permission |
ACCESS_PERMISSION
A
ControllerPermission 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.
|
OperationResponse |
execute(Operation operation,
OperationMessageHandler handler,
ModelController.OperationTransactionControl control)
Execute an operation, sending updates to the given handler, and making available in the return value
any streams that may have been associated with the response.
|
NotificationHandlerRegistration |
getNotificationRegistry()
Returns the
NotificationHandlerRegistration that registers notification handlers for this model controller. |
static final Permission ACCESS_PERMISSION
ControllerPermission needed to access a ModelController via Value.getValue() or
to invoke its methods. The name of the permission 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_PERMISSIONOperationResponse execute(Operation operation, OperationMessageHandler handler, ModelController.OperationTransactionControl control)
operation - the operation to executehandler - the message handlercontrol - the transaction control for this operationSecurityException - if the caller does not have ACCESS_PERMISSIONModelControllerClient createClient(Executor executor)
executor - the executor to use for asynchronous operation executionSecurityException - if the caller does not have ACCESS_PERMISSIONNotificationHandlerRegistration getNotificationRegistry()
NotificationHandlerRegistration that registers notification handlers for this model controller.Copyright © 2015 JBoss by Red Hat. All rights reserved.