public abstract class ServerRestartRequiredServerConfigWriteAttributeHandler extends ModelOnlyWriteAttributeHandler
AbstractWriteAttributeHandler.HandbackHolder<T>| Modifier and Type | Field and Description |
|---|---|
static ServerRestartRequiredServerConfigWriteAttributeHandler |
SOCKET_BINDING_PORT_OFFSET_INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
ServerRestartRequiredServerConfigWriteAttributeHandler(AttributeDefinition attributeDefinition) |
| Modifier and Type | Method and Description |
|---|---|
static ServerRestartRequiredServerConfigWriteAttributeHandler |
createGroupInstance(LocalHostControllerInfo hostControllerInfo) |
static ServerRestartRequiredServerConfigWriteAttributeHandler |
createSocketBindingGroupInstance(LocalHostControllerInfo hostControllerInfo) |
protected void |
finishModelStage(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode currentValue,
Resource resource)
Hook to allow subclasses to do any final
OperationContext.Stage.MODEL processing following the
application of the new attribute value. |
protected abstract void |
validateReferencedNewValueExists(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode currentValue,
org.jboss.dmr.ModelNode value) |
applyUpdateToRuntime, requiresRuntime, revertUpdateToRuntimeexecute, getAttributeDefinition, validateResolvedValue, validateUnresolvedValue, validateUpdatedModelpublic static final ServerRestartRequiredServerConfigWriteAttributeHandler SOCKET_BINDING_PORT_OFFSET_INSTANCE
protected ServerRestartRequiredServerConfigWriteAttributeHandler(AttributeDefinition attributeDefinition)
public static ServerRestartRequiredServerConfigWriteAttributeHandler createGroupInstance(LocalHostControllerInfo hostControllerInfo)
public static ServerRestartRequiredServerConfigWriteAttributeHandler createSocketBindingGroupInstance(LocalHostControllerInfo hostControllerInfo)
protected void finishModelStage(OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode currentValue, Resource resource) throws OperationFailedException
AbstractWriteAttributeHandlerOperationContext.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 attributecurrentValue - the previous value for the attributeresource - the updated model resourceOperationFailedExceptionprotected abstract void validateReferencedNewValueExists(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode currentValue, org.jboss.dmr.ModelNode value) throws OperationFailedException
OperationFailedExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.