public abstract class BaseHttpInterfaceAddStepHandler extends ManagementInterfaceAddStepHandler
AbstractAddStepHandler.Parameters| Modifier and Type | Field and Description |
|---|---|
protected static String |
SSL_CONTEXT_CAPABILITY |
MANAGEMENT_INTERFACE_KEYattributes| Modifier | Constructor and Description |
|---|---|
protected |
BaseHttpInterfaceAddStepHandler(AttributeDefinition[] attributeDefinitions) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<org.jboss.msc.service.ServiceName> |
installServices(OperationContext context,
HttpInterfaceCommonPolicy commonPolicy,
org.jboss.dmr.ModelNode model) |
void |
performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
Make any runtime changes necessary to effect the changes indicated by the given
operation. |
protected void |
populateModel(org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
Populate the given node in the persistent configuration model based on the values in the given operation.
|
addVerifyInstallationStep, asStringIfDefined, requiresRuntimecreateResource, createResource, execute, getAttributes, performRuntime, populateModel, populateModel, recordCapabilitiesAndRequirements, rollbackRuntime, rollbackRuntimeprotected static final String SSL_CONTEXT_CAPABILITY
protected BaseHttpInterfaceAddStepHandler(AttributeDefinition[] attributeDefinitions)
protected void populateModel(org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
throws OperationFailedException
AbstractAddStepHandlerOperationContext.Stage.MODEL.
This default implementation invokes AttributeDefinition.validateAndSet(org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode)
on any attributes passed to the constructor.
populateModel in class AbstractAddStepHandleroperation - the operationmodel - persistent configuration model node that corresponds to the address of operationOperationFailedException - if operation is invalid or populating the model otherwise failspublic void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
AbstractAddStepHandleroperation. Executes
after AbstractAddStepHandler.populateModel(org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode), so the given resource
parameter will reflect any changes made in that method. This method is
invoked during OperationContext.Stage.RUNTIME. Subclasses that wish to make
changes to runtime services should override this method or the
AbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource) variant.performRuntime in class AbstractAddStepHandlercontext - the operation contextoperation - the operation being executedmodel - persistent configuration model from the resource that corresponds to the address of operationOperationFailedException - if operation is invalid or updating the runtime otherwise failsprotected abstract List<org.jboss.msc.service.ServiceName> installServices(OperationContext context, HttpInterfaceCommonPolicy commonPolicy, org.jboss.dmr.ModelNode model) throws OperationFailedException
OperationFailedExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.