public class SocketBindingGroupAddHandler extends AbstractSocketBindingGroupAddHandler
AbstractAddStepHandler.Parameters| Modifier and Type | Field and Description |
|---|---|
static SocketBindingGroupAddHandler |
INSTANCE |
OPERATION_NAMEattributes| Modifier and Type | Method and Description |
|---|---|
protected void |
populateModel(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
Populate the given resource in the persistent configuration model based on the values in the given operation.
|
protected void |
recordCapabilitiesAndRequirements(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
Record any new
capabilities that are available as
a result of this operation, as well as any requirements for other capabilities that now exist. |
createResource, createResource, execute, performRuntime, performRuntime, performRuntime, populateModel, populateModel, requiresRuntime, requiresRuntimeVerification, rollbackRuntime, rollbackRuntimepublic static final SocketBindingGroupAddHandler INSTANCE
protected void populateModel(OperationContext context, org.jboss.dmr.ModelNode operation, Resource resource) throws OperationFailedException
OperationContext.Stage.MODEL.
This default implementation simply calls AbstractAddStepHandler.populateModel(ModelNode, org.jboss.as.controller.registry.Resource).
populateModel in class AbstractSocketBindingGroupAddHandlercontext - the operation contextoperation - the operationresource - the resource that corresponds to the address of operationOperationFailedException - if operation is invalid or populating the model otherwise failsprotected void recordCapabilitiesAndRequirements(OperationContext context, org.jboss.dmr.ModelNode operation, Resource resource) throws OperationFailedException
AbstractAddStepHandlercapabilities that are available as
a result of this operation, as well as any requirements for other capabilities that now exist. This method is
invoked during OperationContext.Stage.MODEL.
Any changes made by this method will automatically be discarded if the operation rolls back.
This default implementation registers any capabilities provided to the constructor and asks any
AttributeDefinition provided to the constructor to
add capability requirements.
recordCapabilitiesAndRequirements in class AbstractAddStepHandlercontext - the context. Will not be nulloperation - the operation that is executing Will not be nullresource - the resource that has been added. Will reflect any updates made by
AbstractAddStepHandler.populateModel(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource). Will
not be nullOperationFailedExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.