public abstract static class LoggingOperations.LoggingAddOperationStepHandler extends AbstractAddStepHandler
AbstractAddStepHandler.Parametersattributes| Constructor and Description |
|---|
LoggingAddOperationStepHandler(AttributeDefinition... attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected OperationStepHandler |
additionalModelStep(org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration)
An
OperationStepHandler that will be registered after the populateModel(OperationContext, ModelNode, Resource)
is executed in the model stage. |
protected OperationStepHandler |
afterPrepare(org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration,
org.jboss.dmr.ModelNode model)
An
OperationStepHandler to register after the prepare
has been executed. |
void |
execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
protected void |
performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
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 |
populateModel(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
createResource, createResource, getAttributes, performRuntime, populateModel, populateModel, recordCapabilitiesAndRequirements, requiresRuntime, rollbackRuntime, rollbackRuntimepublic LoggingAddOperationStepHandler(AttributeDefinition... attributes)
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
execute in interface OperationStepHandlerexecute in class AbstractAddStepHandlerOperationFailedExceptionprotected void populateModel(OperationContext context, org.jboss.dmr.ModelNode operation, Resource resource) throws OperationFailedException
populateModel in class AbstractAddStepHandlerOperationFailedExceptionprotected void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
performRuntime in class AbstractAddStepHandlerOperationFailedExceptionprotected OperationStepHandler afterPrepare(org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration, org.jboss.dmr.ModelNode model)
OperationStepHandler to register after the prepare
has been executed.logContextConfiguration - the log context configuration usedmodel - the current model to usenull to not register a new stepprotected OperationStepHandler additionalModelStep(org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration)
OperationStepHandler that will be registered after the populateModel(OperationContext, ModelNode, Resource)
is executed in the model stage. If this method returns null the step will
not be registered.logContextConfiguration - the log context configuration to usenull to not register a step after the commit steppublic 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 occursCopyright © 2020 JBoss by Red Hat. All rights reserved.