public class HttpConnectorAdd extends AbstractAddStepHandler
AbstractAddStepHandler.Parameters
attributes
Modifier and Type | Method and Description |
---|---|
protected void |
performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
Make any runtime changes necessary to effect the changes indicated by the given
operation . |
createResource, createResource, execute, performRuntime, performRuntime, populateModel, populateModel, populateModel, recordCapabilitiesAndRequirements, requiresRuntime, requiresRuntimeVerification, rollbackRuntime, rollbackRuntime
protected void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, Resource resource) throws OperationFailedException
AbstractAddStepHandler
operation
. Executes
after AbstractAddStepHandler.populateModel(org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode)
, so the given resource
parameter will reflect any changes made in that method. This method is
invoked during OperationContext.Stage.RUNTIME
. Subclasses that wish to make
changes to runtime services should override either this method or the
AbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode)
variant. Override
this one if you wish to make use of the resource
parameter beyond simply
accessing its model property
.
This default implementation simply calls the
AbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode)
variant.
Subclasses that override this method should not call super.performRuntime(...)
.
performRuntime
in class AbstractAddStepHandler
context
- the operation contextoperation
- the operation being executedresource
- persistent configuration resource that corresponds to the address of operation
OperationFailedException
- if operation
is invalid or updating the runtime otherwise failsCopyright © 2023 JBoss by Red Hat. All rights reserved.