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, revertUpdateToRuntime
execute, finishModelStage, getAttributeDefinition, recordCapabilitiesAndRequirements, validateUpdatedModel
public static final OperationStepHandler INSTANCE
public NativeManagementWriteAttributeHandler()
protected boolean requiresRuntime(OperationContext context)
AbstractWriteAttributeHandler
OperationContext.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 © 2023 JBoss by Red Hat. All rights reserved.