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.
|
executepublic 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.WriteAttributeOperationHandlerOperationContext.completeStep() is invoked
or OperationFailedException is thrown.modelChanged in class WriteAttributeHandlers.WriteAttributeOperationHandlercontext - 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 attributeOperationFailedExceptionprotected void validateValue(String name, org.jboss.dmr.ModelNode value) throws OperationFailedException
WriteAttributeHandlers.WriteAttributeOperationHandlervalidateValue in class WriteAttributeHandlers.WriteAttributeOperationHandlername - the name of the attributevalue - the value to validateOperationFailedExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.