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, requiresRuntimepublic static final InterfaceRemoveHandler INSTANCE
protected InterfaceRemoveHandler()
protected void recordCapabilitiesAndRequirements(OperationContext context, org.jboss.dmr.ModelNode operation, Resource resource) throws OperationFailedException
AbstractRemoveStepHandlercapabilities 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 AbstractRemoveStepHandlercontext - the context. Will not be nulloperation - the operation that is executing Will not be nullresource - 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 nullOperationFailedExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.