public class DiscoveryOptionsWriteAttributeHandler extends ReloadRequiredWriteAttributeHandler
AbstractWriteAttributeHandler.HandbackHolder<T>
Constructor and Description |
---|
DiscoveryOptionsWriteAttributeHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
finishModelStage(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode oldValue,
Resource resource)
Validates that the new options list only contains existing options and contains all of them.
|
applyUpdateToRuntime, revertUpdateToRuntime
execute, getAttributeDefinition, requiresRuntime, validateResolvedValue, validateUnresolvedValue, validateUpdatedModel
public DiscoveryOptionsWriteAttributeHandler()
protected void finishModelStage(OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode oldValue, Resource resource) throws OperationFailedException
OperationContext.Stage.MODEL
processing following the
application of the new attribute value. This default implementation calls
AbstractWriteAttributeHandler.validateUpdatedModel(OperationContext, Resource)
.
NOTE: Implementations must not call
OperationContext.completeStep(OperationContext.ResultHandler)
or any of its variants. The method that
calls this one handles step completion.
finishModelStage
in class AbstractWriteAttributeHandler<Void>
context
- the operation contextoperation
- the operationattributeName
- the name of the attribute being modifiednewValue
- the new value for the attributeoldValue
- the previous value for the attributeresource
- the updated model resourceOperationFailedException
Copyright © 2013 JBoss by Red Hat. All rights reserved.