Package org.jboss.as.controller
Class ReloadRequiredRemoveStepHandler
- java.lang.Object
-
- org.jboss.as.controller.AbstractRemoveStepHandler
-
- org.jboss.as.controller.ReloadRequiredRemoveStepHandler
-
- All Implemented Interfaces:
OperationStepHandler
public class ReloadRequiredRemoveStepHandler extends AbstractRemoveStepHandler
A handler for the "remove" operation that always puts the process in "reload-required" state.- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
-
Field Summary
Fields Modifier and Type Field Description static ReloadRequiredRemoveStepHandler
INSTANCE
-
Constructor Summary
Constructors Constructor Description ReloadRequiredRemoveStepHandler()
Creates a newReloadRequiredRemoveStepHandler
ReloadRequiredRemoveStepHandler(RuntimeCapability... unavailableCapabilities)
Deprecated.
-
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)
protected void
recoverServices(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)
-
Methods inherited from class org.jboss.as.controller.AbstractRemoveStepHandler
execute, performRemove, recordCapabilitiesAndRequirements, removeChildRecursively, requireNoChildResources, requiresRuntime
-
-
-
-
Field Detail
-
INSTANCE
public static final ReloadRequiredRemoveStepHandler INSTANCE
-
-
Constructor Detail
-
ReloadRequiredRemoveStepHandler
@Deprecated public ReloadRequiredRemoveStepHandler(RuntimeCapability... unavailableCapabilities)
Deprecated.Creates a newReloadRequiredRemoveStepHandler
that willderegister
a list of capabilities as part of execution.- Parameters:
unavailableCapabilities
- capabilities to deregister
-
ReloadRequiredRemoveStepHandler
public ReloadRequiredRemoveStepHandler()
Creates a newReloadRequiredRemoveStepHandler
-
-
Method Detail
-
performRuntime
protected void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
- Overrides:
performRuntime
in classAbstractRemoveStepHandler
- Throws:
OperationFailedException
-
recoverServices
protected void recoverServices(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
- Overrides:
recoverServices
in classAbstractRemoveStepHandler
- Throws:
OperationFailedException
-
-