public class ServerRemoveHandler extends AbstractRemoveStepHandler implements DescriptionProvider
OperationHandler
removing an existing server configuration.Modifier and Type | Field and Description |
---|---|
static ServerRemoveHandler |
INSTANCE |
static String |
OPERATION_NAME |
Modifier | Constructor and Description |
---|---|
protected |
ServerRemoveHandler()
Create the InterfaceRemoveHandler
|
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
getModelDescription(Locale locale)
Gets the descriptive information (human-friendly description, list of attributes,
list of children) describing a single model node or operation.
|
protected void |
performRemove(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
protected boolean |
requiresRuntime(OperationContext context) |
execute, performRuntime, recoverServices, requireNoChildResources
public static final String OPERATION_NAME
public static final ServerRemoveHandler INSTANCE
protected ServerRemoveHandler()
protected void performRemove(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
performRemove
in class AbstractRemoveStepHandler
OperationFailedException
protected boolean requiresRuntime(OperationContext context)
requiresRuntime
in class AbstractRemoveStepHandler
public org.jboss.dmr.ModelNode getModelDescription(Locale locale)
DescriptionProvider
The implementation must assume that the caller intends to modify the
returned ModelNode
so it should not hand out a reference to any internal data structures.
getModelDescription
in interface DescriptionProvider
locale
- the locale to use to generate any localized text used in the description.
May be null
, in which case Locale.getDefault()
should be usedModelNode
describing the model node's structureCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.