public abstract static class LoggingOperations.LoggingUpdateOperationStepHandler extends Object implements OperationStepHandler
| Modifier | Constructor and Description |
|---|---|
protected |
LoggingUpdateOperationStepHandler(AttributeDefinition... attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
protected AttributeDefinition[] |
getAttributes() |
abstract void |
performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model,
org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration)
Executes additional processing for this step.
|
protected void |
recordCapabilitiesAndRequirements(OperationContext context,
Resource resource,
AttributeDefinition attributeDefinition,
org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode oldValue) |
void |
updateModel(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
Updates the model based on the operation.
|
protected LoggingUpdateOperationStepHandler(AttributeDefinition... attributes)
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
execute in interface OperationStepHandlerOperationFailedExceptionpublic void updateModel(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
context - the operation contextoperation - the operation being executedmodel - the model to updateOperationFailedException - if a processing error occurspublic abstract void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model, org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration) throws OperationFailedException
context - the operation contextoperation - the operation being executedmodel - the model to updatelogContextConfiguration - the logging context configurationOperationFailedException - if a processing error occursprotected AttributeDefinition[] getAttributes()
protected void recordCapabilitiesAndRequirements(OperationContext context, Resource resource, AttributeDefinition attributeDefinition, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode oldValue)
Copyright © 2021 JBoss by Red Hat. All rights reserved.