public class NativeManagementWriteAttributeHandler extends ReloadRequiredWriteAttributeHandler
OperationStepHandler for changing attributes on the native management interface.AbstractWriteAttributeHandler.HandbackHolder<T>| Modifier and Type | Field and Description |
|---|---|
static OperationStepHandler |
INSTANCE |
| Constructor and Description |
|---|
NativeManagementWriteAttributeHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
requiresRuntime(OperationContext context)
Gets whether a
OperationContext.Stage.RUNTIME handler should be added. |
applyUpdateToRuntime, revertUpdateToRuntimeexecute, finishModelStage, getAttributeDefinition, recordCapabilitiesAndRequirements, validateUpdatedModelpublic static final OperationStepHandler INSTANCE
public NativeManagementWriteAttributeHandler()
protected boolean requiresRuntime(OperationContext context)
AbstractWriteAttributeHandlerOperationContext.Stage.RUNTIME handler should be added. This default implementation
returns true if the process is a normal server and the process
is not booting. The rationale for the latter check is if the process is
booting, the resource being modified will have been added as a previous step in the same context, and
the Stage.RUNTIME handling for that add will see a model the reflects the changes made by this handler and
will apply them to the runtime.requiresRuntime in class AbstractWriteAttributeHandler<Void>context - operation contexttrue if a runtime stage handler should be added; false otherwise.Copyright © 2021 JBoss by Red Hat. All rights reserved.