Class ManagementInterfaceAddStepHandler
java.lang.Object
org.jboss.as.controller.AbstractAddStepHandler
org.jboss.as.controller.management.ManagementInterfaceAddStepHandler
- All Implemented Interfaces:
OperationDescriptor,OperationStepHandler
- Direct Known Subclasses:
BaseHttpInterfaceAddStepHandler,BaseNativeInterfaceAddStepHandler
The base add handler for management interfaces.
- Author:
- Emmanuel Hugonnet (c) 2016 Red Hat, inc.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractAddStepHandler
AbstractAddStepHandler.Parameters -
Field Summary
FieldsFields inherited from class org.jboss.as.controller.AbstractAddStepHandler
attributes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddVerifyInstallationStep(OperationContext context, List<org.jboss.msc.service.ServiceName> requiredServices) protected StringasStringIfDefined(OperationContext context, AttributeDefinition attribute, org.jboss.dmr.ModelNode model) protected booleanrequiresRuntime(OperationContext context) Gets whether aOperationContext.Stage.RUNTIMEstep should be added to callAbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource)}.Methods inherited from class org.jboss.as.controller.AbstractAddStepHandler
createResource, createResource, execute, getAttributes, performRuntime, performRuntime, populateModel, populateModel, populateModel, recordCapabilitiesAndRequirements, rollbackRuntime
-
Field Details
-
MANAGEMENT_INTERFACE_KEY
-
-
Constructor Details
-
ManagementInterfaceAddStepHandler
public ManagementInterfaceAddStepHandler()
-
-
Method Details
-
requiresRuntime
Description copied from class:AbstractAddStepHandlerGets whether aOperationContext.Stage.RUNTIMEstep should be added to callAbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource)}. This default implementation will returntruefor a normal server running in normal (non admin-only) mode. If running on a host controller, it will returntrueif it is the active copy of the host controller subsystem. Subclasses that perform no runtime update could override and returnfalse. This method is invoked duringOperationContext.Stage.MODEL.- Overrides:
requiresRuntimein classAbstractAddStepHandler- Parameters:
context- operation context- Returns:
trueifperformRuntimeshould be invoked;falseotherwise.
-
addVerifyInstallationStep
protected void addVerifyInstallationStep(OperationContext context, List<org.jboss.msc.service.ServiceName> requiredServices) -
asStringIfDefined
protected String asStringIfDefined(OperationContext context, AttributeDefinition attribute, org.jboss.dmr.ModelNode model) throws OperationFailedException - Throws:
OperationFailedException
-