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 | 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.
|
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 attachmentsModelControllerClient createClient(Executor executor)
executor
- the executor to use for asynchronous operation executionCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.