public class SocketBindingGroupIncludeAddHandler extends AbstractModelUpdateHandler implements DescriptionProvider
| Modifier and Type | Field and Description |
|---|---|
static SocketBindingGroupIncludeAddHandler |
INSTANCE |
static String |
OPERATION_NAME |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
getModelDescription(Locale locale)
Gets the descriptive information (human-friendly description, list of attributes,
list of children) describing a single model node or operation.
|
static org.jboss.dmr.ModelNode |
getOperation(org.jboss.dmr.ModelNode address,
String include) |
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 String OPERATION_NAME
public static final SocketBindingGroupIncludeAddHandler INSTANCE
public static org.jboss.dmr.ModelNode getOperation(org.jboss.dmr.ModelNode address,
String include)
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.public org.jboss.dmr.ModelNode getModelDescription(Locale locale)
DescriptionProvider
The implementation must assume that the caller intends to modify the
returned ModelNode so it should not hand out a reference to any internal data structures.
getModelDescription in interface DescriptionProviderlocale - the locale to use to generate any localized text used in the description.
May be null, in which case Locale.getDefault() should be usedModelNode describing the model node's structureCopyright © 2015 JBoss by Red Hat. All rights reserved.