Class BaseHttpInterfaceAddStepHandler
java.lang.Object
org.jboss.as.controller.AbstractAddStepHandler
org.jboss.as.controller.management.ManagementInterfaceAddStepHandler
org.jboss.as.controller.management.BaseHttpInterfaceAddStepHandler
- All Implemented Interfaces:
OperationDescriptor,OperationStepHandler
The base add handler for the HTTP Management Interface.
- Author:
- Darran Lofthouse
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractAddStepHandler
AbstractAddStepHandler.Parameters -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.jboss.as.controller.management.ManagementInterfaceAddStepHandler
MANAGEMENT_INTERFACE_KEYFields inherited from class org.jboss.as.controller.AbstractAddStepHandler
attributes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract List<org.jboss.msc.service.ServiceName>installServices(OperationContext context, HttpInterfaceCommonPolicy commonPolicy, org.jboss.dmr.ModelNode model) voidperformRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) Make any runtime changes necessary to effect the changes indicated by the givenoperation.protected voidpopulateModel(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.Methods inherited from class org.jboss.as.controller.management.ManagementInterfaceAddStepHandler
addVerifyInstallationStep, asStringIfDefined, requiresRuntimeMethods inherited from class org.jboss.as.controller.AbstractAddStepHandler
createResource, createResource, execute, getAttributes, performRuntime, populateModel, populateModel, recordCapabilitiesAndRequirements, rollbackRuntime
-
Field Details
-
HTTP_AUTHENTICATION_FACTORY_CAPABILITY
- See Also:
-
SASL_AUTHENTICATION_FACTORY_CAPABILITY
- See Also:
-
SSL_CONTEXT_CAPABILITY
- See Also:
-
-
Constructor Details
-
BaseHttpInterfaceAddStepHandler
public BaseHttpInterfaceAddStepHandler()
-
-
Method Details
-
populateModel
protected void populateModel(OperationContext context, org.jboss.dmr.ModelNode operation, Resource resource) throws OperationFailedException Description copied from class:AbstractAddStepHandlerPopulate the given resource in the persistent configuration model based on the values in the given operation. This method isinvoked duringOperationContext.Stage.MODEL.This default implementation simply calls
AbstractAddStepHandler.populateModel(ModelNode, org.jboss.as.controller.registry.Resource).- Overrides:
populateModelin classAbstractAddStepHandler- Parameters:
context- the operation contextoperation- the operationresource- the resource that corresponds to the address ofoperation- Throws:
OperationFailedException- ifoperationis invalid or populating the model otherwise fails
-
performRuntime
public void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException Description copied from class:AbstractAddStepHandlerMake any runtime changes necessary to effect the changes indicated by the givenoperation. Executes afterAbstractAddStepHandler.populateModel(org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode), so the givenresourceparameter will reflect any changes made in that method. This method is invoked duringOperationContext.Stage.RUNTIME. Subclasses that wish to make changes to runtime services should override this method or theAbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource)variant.- Overrides:
performRuntimein classAbstractAddStepHandler- Parameters:
context- the operation contextoperation- the operation being executedmodel- persistent configuration model from the resource that corresponds to the address ofoperation- Throws:
OperationFailedException- ifoperationis invalid or updating the runtime otherwise fails
-
installServices
protected abstract List<org.jboss.msc.service.ServiceName> installServices(OperationContext context, HttpInterfaceCommonPolicy commonPolicy, org.jboss.dmr.ModelNode model) throws OperationFailedException - Throws:
OperationFailedException
-