public class SpecifiedInterfaceAddHandler extends InterfaceAddHandler
AbstractAddStepHandler.Parameters| Modifier and Type | Field and Description |
|---|---|
static SpecifiedInterfaceAddHandler |
INSTANCE |
NAMED_INSTANCESPECIFIED_INSTANCEattributes| Modifier | Constructor and Description |
|---|---|
protected |
SpecifiedInterfaceAddHandler() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.msc.service.Service<NetworkInterfaceBinding> |
createInterfaceService(String name,
ParsedInterfaceCriteria criteria)
Create a
NetworkInterfaceService. |
protected void |
performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model,
String name,
ParsedInterfaceCriteria criteria) |
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)}. |
getCriteria, performRuntime, populateModel, validateAndSetcreateResource, createResource, execute, performRuntime, performRuntime, populateModel, populateModel, recordCapabilitiesAndRequirements, requiresRuntimeVerification, rollbackRuntime, rollbackRuntimepublic static final SpecifiedInterfaceAddHandler INSTANCE
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 performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model, String name, ParsedInterfaceCriteria criteria)
performRuntime in class InterfaceAddHandlerpublic static org.jboss.msc.service.Service<NetworkInterfaceBinding> createInterfaceService(String name, ParsedInterfaceCriteria criteria)
NetworkInterfaceService.Copyright © 2021 JBoss by Red Hat. All rights reserved.