public class SocketBindingAddHandler extends AbstractAddStepHandler
AbstractAddStepHandler.Parameters
Modifier and Type | Field and Description |
---|---|
static SocketBindingAddHandler |
INSTANCE |
static String |
OPERATION_NAME |
attributes
Modifier | Constructor and Description |
---|---|
protected |
SocketBindingAddHandler()
Create the SocketBindingAddHandler
|
Modifier and Type | Method and Description |
---|---|
static org.jboss.dmr.ModelNode |
getOperation(PathAddress address,
org.jboss.dmr.ModelNode socketBinding) |
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.
|
createResource, createResource, execute, performRuntime, performRuntime, performRuntime, populateModel, populateModel, recordCapabilitiesAndRequirements, requiresRuntime, requiresRuntimeVerification, rollbackRuntime, rollbackRuntime
public static final String OPERATION_NAME
public static final SocketBindingAddHandler INSTANCE
protected SocketBindingAddHandler()
public static org.jboss.dmr.ModelNode getOperation(PathAddress address, org.jboss.dmr.ModelNode socketBinding)
protected void populateModel(OperationContext context, org.jboss.dmr.ModelNode operation, Resource resource) throws OperationFailedException
AbstractAddStepHandler
OperationContext.Stage.MODEL
.
This default implementation simply calls AbstractAddStepHandler.populateModel(ModelNode, org.jboss.as.controller.registry.Resource)
.
populateModel
in class AbstractAddStepHandler
context
- the operation contextoperation
- the operationresource
- the resource that corresponds to the address of operation
OperationFailedException
- if operation
is invalid or populating the model otherwise failsCopyright © 2023 JBoss by Red Hat. All rights reserved.