public class VaultRemoveHandler extends AbstractRemoveStepHandler implements DescriptionProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME |
| Constructor and Description |
|---|
VaultRemoveHandler(AbstractVaultReader vaultReader)
Create the VaultRemoveHandler
|
| 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 |
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) |
protected boolean |
requiresRuntime(OperationContext context) |
execute, performRemove, requireNoChildResourcespublic static final String OPERATION_NAME
public VaultRemoveHandler(AbstractVaultReader vaultReader)
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 DescriptionProviderlocale - 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 structureprotected boolean requiresRuntime(OperationContext context)
requiresRuntime in class AbstractRemoveStepHandlerprotected void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
performRuntime in class AbstractRemoveStepHandlerOperationFailedExceptionprotected void recoverServices(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
recoverServices in class AbstractRemoveStepHandlerOperationFailedExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.