public abstract class ManagementInterfaceAddStepHandler extends AbstractAddStepHandler
AbstractAddStepHandler.Parameters| Modifier and Type | Field and Description |
|---|---|
static OperationContext.AttachmentKey<Boolean> |
MANAGEMENT_INTERFACE_KEY |
attributes| Modifier | Constructor and Description |
|---|---|
protected |
ManagementInterfaceAddStepHandler() |
protected |
ManagementInterfaceAddStepHandler(AttributeDefinition[] attributeDefinitions) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addVerifyInstallationStep(OperationContext context,
List<org.jboss.msc.service.ServiceName> requiredServices) |
protected String |
asStringIfDefined(OperationContext context,
AttributeDefinition attribute,
org.jboss.dmr.ModelNode model) |
protected boolean |
requiresRuntime(OperationContext context)
Gets whether a
OperationContext.Stage.RUNTIME step should be added to call
AbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource)}. |
createResource, createResource, execute, performRuntime, performRuntime, performRuntime, populateModel, populateModel, populateModel, recordCapabilitiesAndRequirements, requiresRuntimeVerification, rollbackRuntime, rollbackRuntimepublic static final OperationContext.AttachmentKey<Boolean> MANAGEMENT_INTERFACE_KEY
protected ManagementInterfaceAddStepHandler(AttributeDefinition[] attributeDefinitions)
protected ManagementInterfaceAddStepHandler()
protected boolean requiresRuntime(OperationContext context)
AbstractAddStepHandlerOperationContext.Stage.RUNTIME step should be added to call
AbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource)}.
This default implementation will return true for a normal server running in normal (non admin-only) mode.
If running on a host controller, it will return true if it is the active copy of the host controller subsystem.
Subclasses that perform no runtime update could override and return false. This method is
invoked during OperationContext.Stage.MODEL.requiresRuntime in class AbstractAddStepHandlercontext - operation contexttrue if performRuntime should be invoked; false otherwise.protected void addVerifyInstallationStep(OperationContext context, List<org.jboss.msc.service.ServiceName> requiredServices)
protected String asStringIfDefined(OperationContext context, AttributeDefinition attribute, org.jboss.dmr.ModelNode model) throws OperationFailedException
OperationFailedExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.