Package org.jboss.as.controller
Class ModelOnlyRemoveStepHandler
- java.lang.Object
-
- org.jboss.as.controller.AbstractRemoveStepHandler
-
- org.jboss.as.controller.ModelOnlyRemoveStepHandler
-
- All Implemented Interfaces:
OperationStepHandler
public class ModelOnlyRemoveStepHandler extends AbstractRemoveStepHandler
A handler for theremove
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.)- Author:
- Brian Stansberry (c) 2012 Red Hat Inc.
-
-
Field Summary
Fields Modifier and Type Field Description static ModelOnlyRemoveStepHandler
INSTANCE
-
Constructor Summary
Constructors Constructor Description ModelOnlyRemoveStepHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)
ThrowsUnsupportedOperationException
.protected void
recoverServices(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)
ThrowsUnsupportedOperationException
.protected boolean
requiresRuntime(OperationContext context)
Returnsfalse
.-
Methods inherited from class org.jboss.as.controller.AbstractRemoveStepHandler
execute, performRemove, recordCapabilitiesAndRequirements, removeChildRecursively, requireNoChildResources
-
-
-
-
Field Detail
-
INSTANCE
public static final ModelOnlyRemoveStepHandler INSTANCE
-
-
Method Detail
-
performRuntime
protected void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
ThrowsUnsupportedOperationException
.- Overrides:
performRuntime
in classAbstractRemoveStepHandler
- Throws:
OperationFailedException
-
recoverServices
protected void recoverServices(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
ThrowsUnsupportedOperationException
.- Overrides:
recoverServices
in classAbstractRemoveStepHandler
- Throws:
OperationFailedException
-
requiresRuntime
protected final boolean requiresRuntime(OperationContext context)
Returnsfalse
.- Overrides:
requiresRuntime
in classAbstractRemoveStepHandler
-
-