public class SchemaLocationAddHandler extends AbstractModelUpdateHandler
| Modifier and Type | Field and Description |
|---|---|
static OperationDefinition |
DEFINITION |
static SchemaLocationAddHandler |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.dmr.ModelNode |
getAddSchemaLocationOperation(org.jboss.dmr.ModelNode address,
String schemaUrl,
String schemaLocation) |
protected boolean |
requiresRuntime(OperationContext context)
Gets whether
AbstractModelUpdateHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource)}
should be called. |
protected void |
updateModel(org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
Update the given node in the persistent configuration model based on the values in the given operation.
|
execute, performRuntime, rollbackRuntime, updateModelpublic static final OperationDefinition DEFINITION
public static final SchemaLocationAddHandler INSTANCE
public static org.jboss.dmr.ModelNode getAddSchemaLocationOperation(org.jboss.dmr.ModelNode address,
String schemaUrl,
String schemaLocation)
protected void updateModel(org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
throws OperationFailedException
AbstractModelUpdateHandlerupdateModel in class AbstractModelUpdateHandleroperation - the operationmodel - persistent configuration model node that corresponds to the address of operationOperationFailedException - if operation is invalid or populating the model otherwise failsprotected boolean requiresRuntime(OperationContext context)
AbstractModelUpdateHandlerAbstractModelUpdateHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource)}
should be called.requiresRuntime in class AbstractModelUpdateHandlercontext - operation contexttrue if performRuntime should be invoked; false otherwise.Copyright © 2018 JBoss by Red Hat. All rights reserved.