Package | Description |
---|---|
org.jboss.as.controller.client |
The core client API for interacting with the management controllers for
either a JBoss Application Server Managed Domain or a standalone JBoss Application Server.
|
org.jboss.as.controller.client.helpers | |
org.jboss.as.controller.client.helpers.domain |
Convenience API built on top of the
core management API
to make it easier to perform common management tasks against a JBoss Application Server Managed Domain. |
org.jboss.as.controller.client.helpers.domain.impl |
Implementation classes to support the
managed domain convenience API . |
org.jboss.as.controller.client.helpers.standalone.impl |
Implementation classes to support the
standalone server convenience API . |
org.jboss.as.controller.client.impl |
Implementation classes to support the
core JBoss AS management client API . |
org.jboss.dmr |
Modifier and Type | Method and Description |
---|---|
ModelNode |
ModelControllerClient.execute(ModelNode operation)
Execute an operation synchronously.
|
ModelNode |
ModelControllerClient.execute(ModelNode operation,
OperationMessageHandler messageHandler)
Execute an operation synchronously, optionally receiving progress reports.
|
ModelNode |
ModelControllerClient.execute(Operation operation)
Execute an operation synchronously.
|
ModelNode |
ModelControllerClient.execute(Operation operation,
OperationMessageHandler messageHandler)
Execute an operation synchronously, optionally receiving progress reports.
|
ModelNode |
Operation.getOperation()
The detyped operation to execute
|
ModelNode |
OperationResponse.getResponseNode()
Gets the DMR response to the operation.
|
Modifier and Type | Method and Description |
---|---|
org.jboss.threads.AsyncFuture<ModelNode> |
ModelControllerClient.executeAsync(ModelNode operation,
OperationMessageHandler messageHandler)
Execute an operation in another thread, optionally receiving progress reports.
|
org.jboss.threads.AsyncFuture<ModelNode> |
ModelControllerClient.executeAsync(Operation operation,
OperationMessageHandler messageHandler)
Execute an operation in another thread, optionally receiving progress reports.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Operation.clone(ModelNode operation)
Deprecated.
|
static OperationBuilder |
OperationBuilder.create(ModelNode operation)
Create an operation builder.
|
static Operation |
Operation.Factory.create(ModelNode operation)
Create a simple operation with no stream attachments.
|
static OperationBuilder |
OperationBuilder.create(ModelNode operation,
boolean autoCloseStreams)
Create an operation builder.
|
static Operation |
Operation.Factory.create(ModelNode operation,
List<InputStream> attachments)
Create a simple operation with stream attachments.
|
static Operation |
Operation.Factory.create(ModelNode operation,
List<InputStream> attachments,
boolean autoCloseStreams)
Create an operation using the given streams and be
auto-close streams
setting. |
static OperationResponse |
OperationResponse.Factory.createSimple(ModelNode responseNode) |
ModelNode |
ModelControllerClient.execute(ModelNode operation)
Execute an operation synchronously.
|
ModelNode |
ModelControllerClient.execute(ModelNode operation,
OperationMessageHandler messageHandler)
Execute an operation synchronously, optionally receiving progress reports.
|
org.jboss.threads.AsyncFuture<ModelNode> |
ModelControllerClient.executeAsync(ModelNode operation,
OperationMessageHandler messageHandler)
Execute an operation in another thread, optionally receiving progress reports.
|
Constructor and Description |
---|
OperationBuilder(ModelNode operation) |
OperationBuilder(ModelNode operation,
boolean autoCloseStreams) |
Modifier and Type | Method and Description |
---|---|
static ModelNode |
Operations.createAddOperation(ModelNode address)
Creates an add operation.
|
static ModelNode |
Operations.createCompositeOperation()
Creates a composite operation with an empty address and empty steps that will rollback on a runtime failure.
|
static ModelNode |
Operations.createOperation(String operation)
Creates a generic operation with an empty (root) address.
|
static ModelNode |
Operations.createOperation(String operation,
ModelNode address)
Creates an operation.
|
static ModelNode |
Operations.createReadAttributeOperation(ModelNode address,
String attributeName)
Creates an operation to read the attribute represented by the
attributeName parameter. |
static ModelNode |
Operations.createReadResourceOperation(ModelNode address)
Creates a non-recursive operation to read a resource.
|
static ModelNode |
Operations.createReadResourceOperation(ModelNode address,
boolean recursive)
Creates an operation to read a resource.
|
static ModelNode |
Operations.createRemoveOperation(ModelNode address)
Creates a remove operation.
|
static ModelNode |
Operations.createUndefineAttributeOperation(ModelNode address,
String attributeName)
Creates an operation to undefine an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
boolean value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
int value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
long value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
ModelNode value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
String value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.getFailureDescription(ModelNode result)
Parses the result and returns the failure description.
|
static ModelNode |
Operations.getOperationAddress(ModelNode op)
Returns the address for the operation.
|
static ModelNode |
Operations.readResult(ModelNode result)
Reads the result of an operation and returns the result.
|
Modifier and Type | Method and Description |
---|---|
Operations.CompositeOperationBuilder |
Operations.CompositeOperationBuilder.addStep(ModelNode op)
Adds a new operation to the composite operation.
|
static ModelNode |
Operations.createAddOperation(ModelNode address)
Creates an add operation.
|
static ModelNode |
Operations.createOperation(String operation,
ModelNode address)
Creates an operation.
|
static ModelNode |
Operations.createReadAttributeOperation(ModelNode address,
String attributeName)
Creates an operation to read the attribute represented by the
attributeName parameter. |
static ModelNode |
Operations.createReadResourceOperation(ModelNode address)
Creates a non-recursive operation to read a resource.
|
static ModelNode |
Operations.createReadResourceOperation(ModelNode address,
boolean recursive)
Creates an operation to read a resource.
|
static ModelNode |
Operations.createRemoveOperation(ModelNode address)
Creates a remove operation.
|
static ModelNode |
Operations.createUndefineAttributeOperation(ModelNode address,
String attributeName)
Creates an operation to undefine an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
boolean value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
int value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
long value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
ModelNode value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.createWriteAttributeOperation(ModelNode address,
String attributeName,
String value)
Creates an operation to write an attribute value represented by the
attributeName parameter. |
static ModelNode |
Operations.getFailureDescription(ModelNode result)
Parses the result and returns the failure description.
|
static ModelNode |
Operations.getOperationAddress(ModelNode op)
Returns the address for the operation.
|
static String |
Operations.getOperationName(ModelNode op)
Returns the name of the operation.
|
static boolean |
Operations.isSuccessfulOutcome(ModelNode outcome)
Checks the result for a successful operation outcome.
|
static ModelNode |
Operations.readResult(ModelNode result)
Reads the result of an operation and returns the result.
|
Modifier and Type | Method and Description |
---|---|
ModelNode |
ServerUpdateResult.getSuccessResult()
Gets the result of the action's modification to the server's configuration.
|
Modifier and Type | Method and Description |
---|---|
ModelNode |
DomainClientImpl.execute(ModelNode operation) |
ModelNode |
DomainClientImpl.execute(ModelNode operation,
OperationMessageHandler messageHandler) |
ModelNode |
DomainClientImpl.execute(Operation operation) |
ModelNode |
DomainClientImpl.execute(Operation operation,
OperationMessageHandler messageHandler) |
ModelNode |
UpdateResultHandlerResponse.getSuccessResult() |
Modifier and Type | Method and Description |
---|---|
org.jboss.threads.AsyncFuture<ModelNode> |
DomainClientImpl.executeAsync(ModelNode operation,
OperationMessageHandler messageHandler) |
org.jboss.threads.AsyncFuture<ModelNode> |
DomainClientImpl.executeAsync(Operation operation,
OperationMessageHandler messageHandler) |
Modifier and Type | Method and Description |
---|---|
static UpdateResultHandlerResponse |
UpdateResultHandlerResponse.createSuccessResponse(ModelNode result) |
ModelNode |
DomainClientImpl.execute(ModelNode operation) |
ModelNode |
DomainClientImpl.execute(ModelNode operation,
OperationMessageHandler messageHandler) |
org.jboss.threads.AsyncFuture<ModelNode> |
DomainClientImpl.executeAsync(ModelNode operation,
OperationMessageHandler messageHandler) |
static UpdateResultHandlerResponse |
UpdateResultHandlerResponse.fromModelNode(ModelNode modelNode) |
Modifier and Type | Method and Description |
---|---|
protected Future<ModelNode> |
ModelControllerClientServerDeploymentManager.executeOperation(Operation operation) |
protected abstract Future<ModelNode> |
AbstractServerDeploymentManager.executeOperation(Operation context) |
Modifier and Type | Method and Description |
---|---|
ModelNode |
AbstractModelControllerClient.execute(ModelNode operation) |
ModelNode |
AbstractModelControllerClient.execute(ModelNode operation,
OperationMessageHandler messageHandler) |
ModelNode |
AbstractModelControllerClient.execute(Operation operation) |
ModelNode |
AbstractModelControllerClient.execute(Operation operation,
OperationMessageHandler messageHandler) |
ModelNode |
OperationResponseProxy.getResponseNode() |
Modifier and Type | Method and Description |
---|---|
org.jboss.threads.AsyncFuture<ModelNode> |
AbstractModelControllerClient.executeAsync(ModelNode operation,
OperationMessageHandler messageHandler) |
org.jboss.threads.AsyncFuture<ModelNode> |
AbstractModelControllerClient.executeAsync(Operation operation,
OperationMessageHandler messageHandler) |
Modifier and Type | Method and Description |
---|---|
static OperationResponseProxy |
OperationResponseProxy.create(ModelNode responseNode,
org.jboss.as.protocol.mgmt.ManagementChannelAssociation channelAssociation,
int batchId,
ModelNode streamHeader) |
ModelNode |
AbstractModelControllerClient.execute(ModelNode operation) |
ModelNode |
AbstractModelControllerClient.execute(ModelNode operation,
OperationMessageHandler messageHandler) |
org.jboss.threads.AsyncFuture<ModelNode> |
AbstractModelControllerClient.executeAsync(ModelNode operation,
OperationMessageHandler messageHandler) |
Modifier and Type | Field and Description |
---|---|
static ModelNode |
Validation.SCHEMA_DEFINITION |
Modifier and Type | Method and Description |
---|---|
ModelNode |
ModelNode.add()
Add a node to the end of this node's value list and return it.
|
ModelNode |
ModelNode.add(BigDecimal newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(BigInteger newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(boolean newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(byte[] newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(double newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(int newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(long newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(ModelNode newValue)
Add a copy of the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(Property property)
Add a property to the end of this node's value list.
|
ModelNode |
ModelNode.add(String newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
BigDecimal propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
BigInteger propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
boolean propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
byte[] propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
double propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
int propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
long propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
ModelNode propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
String propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
ValueExpression propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
ModelNode |
ModelNode.add(ValueExpression newValue)
Add the given value to the end of this node's value list.
|
ModelNode |
ModelNode.addEmptyList()
Add a node of type
ModelType.LIST to the end of this node's value list and return it. |
ModelNode |
ModelNode.addEmptyObject()
Add a node of type
ModelType.OBJECT to the end of this node's value list and return it. |
ModelNode |
ModelNode.addExpression(String newValue)
Deprecated.
Use
add(ValueExpression) instead. |
ModelNode |
ModelNode.asObject()
Get a copy of this value as an object.
|
ModelNode |
ModelNode.clear()
Clear this node's value and change its type to
ModelType.UNDEFINED . |
ModelNode |
ModelNode.clone()
Clone this model node.
|
protected ModelNode |
JSONParserImpl.finishList(ModelNode list) |
protected ModelNode |
JSONParserImpl.finishObject(ModelNode object) |
static ModelNode |
ModelNode.fromBase64(InputStream stream)
Reads base64 data from the passed stream,
and deserializes the decoded result.
|
static ModelNode |
ModelNode.fromJSONStream(InputStream stream)
Get a model node from a JSON text representation of the model node.
|
static ModelNode |
ModelNode.fromJSONString(String input) |
static ModelNode |
ModelNode.fromStream(InputStream stream)
Get a model node from a text representation of the model node.
|
static ModelNode |
ModelNode.fromString(String input)
Get a model node from a string representation of the model node.
|
ModelNode |
ModelNode.get(int index)
Get the child of this node with the given index.
|
ModelNode |
ModelNode.get(String... names)
Recursively get the children of this node with the given names.
|
ModelNode |
ModelNode.get(String name)
Get the child of this node with the given name.
|
ModelNode |
JSONParserImpl.getResult() |
ModelNode |
Property.getValue() |
protected ModelNode |
JSONParserImpl.parseBigDecimal(String arg) |
protected ModelNode |
JSONParserImpl.parseDecInt(String arg) |
protected ModelNode |
JSONParserImpl.parseEmptyList() |
protected ModelNode |
JSONParserImpl.parseEmptyObject() |
protected ModelNode |
JSONParserImpl.parseFalse() |
protected ModelNode |
JSONParserImpl.parseHex(String arg) |
protected ModelNode |
JSONParserImpl.parseHexSigned(String arg) |
protected ModelNode |
JSONParserImpl.parseInf(String arg) |
protected ModelNode |
JSONParserImpl.parseListItem(ModelNode list,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseNaN() |
protected ModelNode |
JSONParserImpl.parseObjectItem(ModelNode object,
String key,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseOctal(String arg) |
protected ModelNode |
JSONParserImpl.parseStartList(ModelNode child) |
protected ModelNode |
JSONParserImpl.parseStartObject(String key,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseString(String arg) |
protected ModelNode |
JSONParserImpl.parseTrue() |
protected ModelNode |
JSONParserImpl.parseUndefined() |
protected ModelNode |
JSONParserImpl.parseZero() |
ModelNode |
ModelNode.remove(String name)
Remove a child of this node, returning the child.
|
ModelNode |
ModelNode.require(int index)
Require the existence of a child of this node with the given index, returning the child.
|
ModelNode |
ModelNode.require(String name)
Require the existence of a child of this node with the given name, returning the child.
|
ModelNode |
ModelNode.resolve()
Return a copy of this model node, with all values of type
ModelType.EXPRESSION locally resolved. |
ModelNode |
ModelNode.set(BigDecimal newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(BigInteger newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(boolean newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(byte[] newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(Collection<ModelNode> newValue)
Change this node's value to a list whose values are copied from the given collection.
|
ModelNode |
ModelNode.set(double newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(int newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(long newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(ModelNode newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(ModelType newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(Property newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(String newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(String propertyName,
BigDecimal propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
BigInteger propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
boolean propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
byte[] propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
double propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
int propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
long propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
ModelNode propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
ModelType propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
String propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(String propertyName,
ValueExpression propertyValue)
Change this node's value to a property with the given name and value.
|
ModelNode |
ModelNode.set(ValueExpression newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.setEmptyList()
Change this node's value to an empty list.
|
ModelNode |
ModelNode.setEmptyObject()
Change this node's value to an empty object.
|
ModelNode |
ModelNode.setExpression(String newValue)
Deprecated.
Use
set(ValueExpression) instead. |
ModelNode |
ModelNode.setExpression(String propertyName,
String propertyValue)
Deprecated.
Use
set(String,ValueExpression) instead. |
Modifier and Type | Method and Description |
---|---|
List<ModelNode> |
ModelNode.asList()
Get the list of entries contained in this object.
|
Modifier and Type | Method and Description |
---|---|
ModelNode |
ModelNode.add(ModelNode newValue)
Add a copy of the given value to the end of this node's value list.
|
ModelNode |
ModelNode.add(String propertyName,
ModelNode propertyValue)
Add a property with the given name and value to the end of this node's value list.
|
boolean |
ModelNode.equals(ModelNode other)
Determine whether this object is equal to another.
|
protected ModelNode |
JSONParserImpl.finishList(ModelNode list) |
protected ModelNode |
JSONParserImpl.finishObject(ModelNode object) |
protected int |
JSONParserImpl.parse(ModelNode node) |
protected ModelNode |
JSONParserImpl.parseListItem(ModelNode list,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseObjectItem(ModelNode object,
String key,
ModelNode child) |
protected ModelNode |
JSONParserImpl.parseStartList(ModelNode child) |
protected ModelNode |
JSONParserImpl.parseStartObject(String key,
ModelNode child) |
ModelNode |
ModelNode.set(ModelNode newValue)
Change this node's value to the given value.
|
ModelNode |
ModelNode.set(String propertyName,
ModelNode propertyValue)
Change this node's value to a property with the given name and value.
|
static void |
Validation.validate(ModelNode schema,
String rootType) |
Modifier and Type | Method and Description |
---|---|
ModelNode |
ModelNode.set(Collection<ModelNode> newValue)
Change this node's value to a list whose values are copied from the given collection.
|
Constructor and Description |
---|
Property(String name,
ModelNode value) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.