public abstract class ServerRestartRequiredServerConfigWriteAttributeHandler extends WriteAttributeHandlers.WriteAttributeOperationHandler
Modifier and Type | Field and Description |
---|---|
static ServerRestartRequiredServerConfigWriteAttributeHandler |
GROUP_INSTANCE |
static ServerRestartRequiredServerConfigWriteAttributeHandler |
SOCKET_BINDING_GROUP_INSTANCE |
static ServerRestartRequiredServerConfigWriteAttributeHandler |
SOCKET_BINDING_PORT_OFFSET_INSTANCE |
INSTANCE
Constructor and Description |
---|
ServerRestartRequiredServerConfigWriteAttributeHandler(ParameterValidator validator) |
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.
|
protected abstract void |
validateReferencedNewValueExisits(OperationContext context,
org.jboss.dmr.ModelNode value) |
execute, validateValue
public static final ServerRestartRequiredServerConfigWriteAttributeHandler GROUP_INSTANCE
public static final ServerRestartRequiredServerConfigWriteAttributeHandler SOCKET_BINDING_GROUP_INSTANCE
public static final ServerRestartRequiredServerConfigWriteAttributeHandler SOCKET_BINDING_PORT_OFFSET_INSTANCE
public ServerRestartRequiredServerConfigWriteAttributeHandler(ParameterValidator validator)
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 abstract void validateReferencedNewValueExisits(OperationContext context, org.jboss.dmr.ModelNode value) throws OperationFailedException
OperationFailedException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.