public class ModelOnlyRemoveStepHandler extends AbstractRemoveStepHandler
remove operation that only manipulates the model. The original expected use is for
resources that have been dropped from recent versions, but for which configuration manageablity is retained in
order to allow use on legacy hosts in a managed domain. This handler would be used on the host controllers for
the newer version nodes (particularly the master host controller.)| Modifier and Type | Field and Description |
|---|---|
static ModelOnlyRemoveStepHandler |
INSTANCE |
| Constructor and Description |
|---|
ModelOnlyRemoveStepHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
Throws
UnsupportedOperationException. |
protected void |
recoverServices(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
Throws
UnsupportedOperationException. |
protected boolean |
requiresRuntime(OperationContext context)
Returns
false. |
execute, performRemove, recordCapabilitiesAndRequirements, removeChildRecursively, requireNoChildResourcespublic static final ModelOnlyRemoveStepHandler INSTANCE
protected void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
UnsupportedOperationException.
performRuntime in class AbstractRemoveStepHandlerOperationFailedExceptionprotected void recoverServices(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
UnsupportedOperationException.
recoverServices in class AbstractRemoveStepHandlerOperationFailedExceptionprotected final boolean requiresRuntime(OperationContext context)
false.
requiresRuntime in class AbstractRemoveStepHandlerCopyright © 2021 JBoss by Red Hat. All rights reserved.