public class BroadcastGroupWriteAttributeHandler extends WriteAttributeHandlers.WriteAttributeOperationHandler
Modifier and Type | Field and Description |
---|---|
static BroadcastGroupWriteAttributeHandler |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
protected void |
modelChanged(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode currentValue)
Notification that the model has been changed.
|
void |
registerAttributes(ManagementResourceRegistration registry,
boolean registerRuntimeOnly) |
protected void |
validateValue(String name,
org.jboss.dmr.ModelNode value)
If a validator was passed to the constructor, uses it to validate the value.
|
execute
public static final BroadcastGroupWriteAttributeHandler INSTANCE
public void registerAttributes(ManagementResourceRegistration registry, boolean registerRuntimeOnly)
protected void modelChanged(OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode currentValue) throws OperationFailedException
WriteAttributeHandlers.WriteAttributeOperationHandler
OperationContext.completeStep()
is invoked
or OperationFailedException
is thrown.modelChanged
in class WriteAttributeHandlers.WriteAttributeOperationHandler
context
- the context of the operationoperation
- the operationattributeName
- the name of the attribute being modifiednewValue
- the new value for the attributecurrentValue
- the existing value for the attributeOperationFailedException
protected void validateValue(String name, org.jboss.dmr.ModelNode value) throws OperationFailedException
WriteAttributeHandlers.WriteAttributeOperationHandler
validateValue
in class WriteAttributeHandlers.WriteAttributeOperationHandler
name
- the name of the attributevalue
- the value to validateOperationFailedException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.