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 theremoveoperation 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 ModelOnlyRemoveStepHandlerINSTANCE
-
Constructor Summary
Constructors Constructor Description ModelOnlyRemoveStepHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidperformRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)ThrowsUnsupportedOperationException.protected voidrecoverServices(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)ThrowsUnsupportedOperationException.protected booleanrequiresRuntime(OperationContext context)Returnsfalse.-
Methods inherited from class org.jboss.as.controller.AbstractRemoveStepHandler
execute, performRemove, recordCapabilitiesAndRequirements, removeChildRecursively
-
-
-
-
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:
performRuntimein classAbstractRemoveStepHandler- Throws:
OperationFailedException
-
recoverServices
protected void recoverServices(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
ThrowsUnsupportedOperationException.- Overrides:
recoverServicesin classAbstractRemoveStepHandler- Throws:
OperationFailedException
-
requiresRuntime
protected final boolean requiresRuntime(OperationContext context)
Returnsfalse.- Overrides:
requiresRuntimein classAbstractRemoveStepHandler
-
-