public class InterfaceRemoveHandler extends InterfaceRemoveHandler
Modifier and Type | Field and Description |
---|---|
static InterfaceRemoveHandler |
INSTANCE |
OPERATION_NAME
Modifier | Constructor and Description |
---|---|
protected |
InterfaceRemoveHandler()
Create the InterfaceRemoveHandler
|
Modifier and Type | Method and Description |
---|---|
protected void |
recordCapabilitiesAndRequirements(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
Record any new
capabilities that are no longer available as
a result of this operation, as well as any requirements for other capabilities that no longer exist. |
execute, performRemove, performRuntime, recoverServices, removeChildRecursively, requireNoChildResources, requiresRuntime
public static final InterfaceRemoveHandler INSTANCE
protected InterfaceRemoveHandler()
protected void recordCapabilitiesAndRequirements(OperationContext context, org.jboss.dmr.ModelNode operation, Resource resource) throws OperationFailedException
AbstractRemoveStepHandler
capabilities
that are no longer available as
a result of this operation, as well as any requirements for other capabilities that no longer exist. This method is
invoked during OperationContext.Stage.MODEL
.
Any changes made by this method will automatically be discarded if the operation rolls back.
This default implementation deregisters any capabilities passed to the constructor.
recordCapabilitiesAndRequirements
in class AbstractRemoveStepHandler
context
- the context. Will not be null
operation
- the operation that is executing Will not be null
resource
- the resource that will be removed. Will not reflect any updates made by
AbstractRemoveStepHandler.performRemove(OperationContext, org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode)
as this method
is invoked before that method is. Will not be null
OperationFailedException
Copyright © 2023 JBoss by Red Hat. All rights reserved.