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, requireNoChildResources
public 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 AbstractRemoveStepHandler
OperationFailedException
protected void recoverServices(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
UnsupportedOperationException
.
recoverServices
in class AbstractRemoveStepHandler
OperationFailedException
protected final boolean requiresRuntime(OperationContext context)
false
.
requiresRuntime
in class AbstractRemoveStepHandler
Copyright © 2018 JBoss by Red Hat. All rights reserved.