Package org.jboss.as.logging
Class LoggingOperations.LoggingUpdateOperationStepHandler
- java.lang.Object
-
- org.jboss.as.logging.LoggingOperations.LoggingUpdateOperationStepHandler
-
- All Implemented Interfaces:
OperationStepHandler
- Enclosing class:
- LoggingOperations
public abstract static class LoggingOperations.LoggingUpdateOperationStepHandler extends Object implements OperationStepHandler
A base update step handler for logging operations.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLoggingUpdateOperationStepHandler(AttributeDefinition... attributes)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute(OperationContext context, org.jboss.dmr.ModelNode operation)protected AttributeDefinition[]getAttributes()abstract voidperformRuntime(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 voidrecordCapabilitiesAndRequirements(OperationContext context, Resource resource, AttributeDefinition attributeDefinition, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode oldValue)voidupdateModel(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)Updates the model based on the operation.
-
-
-
Constructor Detail
-
LoggingUpdateOperationStepHandler
protected LoggingUpdateOperationStepHandler(AttributeDefinition... attributes)
-
-
Method Detail
-
execute
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
- Specified by:
executein interfaceOperationStepHandler- Throws:
OperationFailedException
-
updateModel
public void updateModel(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
Updates the model based on the operation.- Parameters:
context- the operation contextoperation- the operation being executedmodel- the model to update- Throws:
OperationFailedException- if a processing error occurs
-
performRuntime
public abstract void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model, org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration) throws OperationFailedException
Executes additional processing for this step.- Parameters:
context- the operation contextoperation- the operation being executedmodel- the model to updatelogContextConfiguration- the logging context configuration- Throws:
OperationFailedException- if a processing error occurs
-
getAttributes
protected AttributeDefinition[] getAttributes()
-
recordCapabilitiesAndRequirements
protected void recordCapabilitiesAndRequirements(OperationContext context, Resource resource, AttributeDefinition attributeDefinition, org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode oldValue)
-
-