public class SpecifiedInterfaceAddHandler extends InterfaceAddHandler
| Modifier and Type | Field and Description |
|---|---|
static SpecifiedInterfaceAddHandler |
INSTANCE |
NAMED_INSTANCE, SPECIFIED_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,
ServiceVerificationHandler verificationHandler,
List<org.jboss.msc.service.ServiceController<?>> newControllers,
String name,
ParsedInterfaceCriteria criteria) |
protected boolean |
requiresRuntime(OperationContext context)
|
protected boolean |
requiresRuntimeVerification()
Gets whether the
ServiceVerificationHandler parameter passed to
AbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode, ServiceVerificationHandler, java.util.List)
should be added to the operation context as a step. |
getCriteria, getInterfaceName, performRuntime, populateModel, validateAndSetcreateResource, execute, populateModel, populateModel, rollbackRuntimepublic static final SpecifiedInterfaceAddHandler INSTANCE
protected boolean requiresRuntime(OperationContext context)
AbstractAddStepHandlerAbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode, ServiceVerificationHandler, java.util.List)}
should be called. This default implementation always returns true. Subclasses that perform no runtime
update could override and return false.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, ServiceVerificationHandler verificationHandler, List<org.jboss.msc.service.ServiceController<?>> newControllers, String name, ParsedInterfaceCriteria criteria)
performRuntime in class InterfaceAddHandlerprotected boolean requiresRuntimeVerification()
AbstractAddStepHandlerServiceVerificationHandler parameter passed to
AbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode, ServiceVerificationHandler, java.util.List)
should be added to the operation context as a step.
This default implementation always returns true.
requiresRuntimeVerification in class AbstractAddStepHandlertrue if the service verification step should be added; false if it's not necessary.public static org.jboss.msc.service.Service<NetworkInterfaceBinding> createInterfaceService(String name, ParsedInterfaceCriteria criteria)
NetworkInterfaceService.Copyright © 2014 JBoss by Red Hat. All rights reserved.