void |
AttributeDefinition.addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
Based on the given attribute value, add capability requirements.
|
void |
AttributeDefinition.addCapabilityRequirements(OperationContext context,
org.jboss.dmr.ModelNode attributeValue) |
Deprecated.
|
void |
CapabilityReferenceRecorder.addCapabilityRequirements(OperationContext context,
Resource resource,
String attributeName,
String... attributeValues) |
Registers capability requirement information to the given context.
|
void |
CapabilityReferenceRecorder.ContextDependencyRecorder.addCapabilityRequirements(OperationContext context,
Resource resource,
String attributeName,
String... attributeValues) |
Registers capability requirement information to the given context.
|
void |
CapabilityReferenceRecorder.ResourceCapabilityReferenceRecorder.addCapabilityRequirements(OperationContext context,
Resource resource,
String attributeName,
String... attributeValues) |
|
void |
ObjectListAttributeDefinition.addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
ObjectMapAttributeDefinition.addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
ObjectTypeAttributeDefinition.addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
PrimitiveListAttributeDefinition.addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
SimpleListAttributeDefinition.addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
SimpleMapAttributeDefinition.addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
StringListAttributeDefinition.addCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
protected abstract boolean |
AbstractWriteAttributeHandler.applyUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode resolvedValue,
org.jboss.dmr.ModelNode currentValue,
AbstractWriteAttributeHandler.HandbackHolder<T> handbackHolder) |
Hook to allow subclasses to make runtime changes to effect the attribute value change.
|
protected boolean |
ModelOnlyWriteAttributeHandler.applyUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode resolvedValue,
org.jboss.dmr.ModelNode currentValue,
AbstractWriteAttributeHandler.HandbackHolder<Void> handbackHolder) |
|
protected boolean |
ReloadRequiredWriteAttributeHandler.applyUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode resolvedValue,
org.jboss.dmr.ModelNode currentValue,
AbstractWriteAttributeHandler.HandbackHolder<Void> voidHandback) |
|
protected boolean |
RestartParentWriteAttributeHandler.applyUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode resolvedValue,
org.jboss.dmr.ModelNode currentValue,
AbstractWriteAttributeHandler.HandbackHolder<org.jboss.dmr.ModelNode> handbackHolder) |
|
protected Resource |
AbstractAddStepHandler.createResource(OperationContext context) |
|
protected Resource |
AbstractAddStepHandler.createResource(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
AbstractAddStepHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
{@inheritDoc
|
void |
AbstractModelUpdateHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
{@inheritDoc
|
void |
AbstractRemoveStepHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
AbstractRuntimeOnlyHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
AbstractWriteAttributeHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
BootErrorCollector.ListBootErrorsHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
CompositeOperationHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
NoopOperationStepHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
OperationStepHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
Execute this step.
|
void |
ParallelBootOperationStepHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
ProxyStepHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
ReadResourceNameOperationStepHandler.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
void |
RestartParentResourceHandlerBase.execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
protected abstract void |
AbstractRuntimeOnlyHandler.executeRuntimeStep(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
protected void |
AbstractWriteAttributeHandler.finishModelStage(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode oldValue,
Resource model) |
|
protected RuntimeCapability |
CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder.getDependentCapability(OperationContext context) |
|
static BlockingTimeout |
BlockingTimeout.Factory.getDomainBlockingTimeout(OperationContext context) |
Gets any blocking timeout associated with the current context.
|
static BlockingTimeout |
BlockingTimeout.Factory.getProxyBlockingTimeout(OperationContext context) |
Gets any blocking timeout associated with the current context.
|
protected String |
CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder.getRequirementName(OperationContext context,
Resource resource,
String attributeValue) |
|
protected String |
CapabilityReferenceRecorder.ContextDependencyRecorder.getRequirementName(OperationContext context,
Resource resource,
String attributeValue) |
|
void |
OperationContext.ResultHandler.handleResult(OperationContext.ResultAction resultAction,
OperationContext context,
org.jboss.dmr.ModelNode operation) |
Callback to an OperationStepHandler indicating that the result of the overall operation is
known and the handler can take any necessary actions to deal with that result.
|
void |
OperationContext.RollbackHandler.handleRollback(OperationContext context,
org.jboss.dmr.ModelNode operation) |
Callback to an OperationStepHandler indicating that the overall operation is being rolled back and the
handler should revert any change it has made.
|
protected boolean |
RestartParentResourceHandlerBase.isResourceServiceRestartAllowed(OperationContext context,
org.jboss.msc.service.ServiceController<?> service) |
Gets whether a restart of the parent resource's services is allowed.
|
protected boolean |
RestartParentWriteAttributeHandler.isResourceServiceRestartAllowed(OperationContext context,
org.jboss.msc.service.ServiceController<?> service) |
Gets whether a restart of the parent resource's services is allowed.
|
default void |
ModelController.OperationTransactionControl.operationPrepared(ModelController.OperationTransaction transaction,
org.jboss.dmr.ModelNode result,
OperationContext context) |
Notify that an operation is complete and may be committed or rolled back.
|
protected void |
AbstractBoottimeAddStepHandler.performBoottime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
Make any runtime changes necessary to effect the changes indicated by the given operation.
|
protected void |
AbstractBoottimeAddStepHandler.performBoottime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
Make any runtime changes necessary to effect the changes indicated by the given operation.
|
protected void |
AbstractRemoveStepHandler.performRemove(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
|
protected void |
AbstractAddStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
Make any runtime changes necessary to effect the changes indicated by the given operation.
|
protected void |
AbstractAddStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
Make any runtime changes necessary to effect the changes indicated by the given operation.
|
protected void |
AbstractBoottimeAddStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
AbstractModelUpdateHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
Make any runtime changes necessary to effect the changes indicated by the given operation.
|
protected void |
AbstractRemoveStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
|
protected void |
ModelOnlyAddStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
ModelOnlyRemoveStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
|
protected void |
ReloadRequiredAddStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
ReloadRequiredRemoveStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
|
protected void |
ServiceRemoveStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
|
protected void |
AbstractAddStepHandler.populateModel(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
Populate the given resource in the persistent configuration model based on the values in the given operation.
|
protected void |
AbstractAddStepHandler.recordCapabilitiesAndRequirements(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
Record any new capabilities that are available as
a result of this operation, as well as any requirements for other capabilities that now exist.
|
protected void |
AbstractRemoveStepHandler.recordCapabilitiesAndRequirements(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
Record any new capabilities that are no longer available as
a result of this operation, as well as any requirements for other capabilities that no longer exist.
|
protected void |
AbstractWriteAttributeHandler.recordCapabilitiesAndRequirements(OperationContext context,
AttributeDefinition attributeDefinition,
org.jboss.dmr.ModelNode newValue,
org.jboss.dmr.ModelNode oldValue) |
Record any new requirements for other capabilities
that now exist as a result of this operation, or remove any existing requirements that no longer exist.
|
protected void |
RestartParentResourceAddHandler.recordCapabilitiesAndRequirements(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
RestartParentResourceRemoveHandler.recordCapabilitiesAndRequirements(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
AbstractRemoveStepHandler.recoverServices(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
|
protected void |
ModelOnlyRemoveStepHandler.recoverServices(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
|
protected void |
ReloadRequiredRemoveStepHandler.recoverServices(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
|
protected void |
ServiceRemoveStepHandler.recoverServices(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
If the context allows resource removal,
attempts to restore services by invoking the performRuntime method on the @{code addOperation}
handler passed to the constructor; otherwise puts the process in reload-required state.
|
protected void |
RestartParentResourceHandlerBase.recreateParentService(OperationContext context,
PathAddress parentAddress,
org.jboss.dmr.ModelNode parentModel) |
Recreate the parent service(s) using the given model.
|
protected void |
RestartParentWriteAttributeHandler.recreateParentService(OperationContext context,
PathAddress parentAddress,
org.jboss.dmr.ModelNode parentModel) |
Recreate the parent service(s) using the given model.
|
void |
AttributeDefinition.removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
Based on the given attribute value, remove capability requirements.
|
void |
AttributeDefinition.removeCapabilityRequirements(OperationContext context,
org.jboss.dmr.ModelNode attributeValue) |
Deprecated.
|
void |
CapabilityReferenceRecorder.ContextDependencyRecorder.removeCapabilityRequirements(OperationContext context,
Resource resource,
String attributeName,
String... attributeValues) |
Deregisters capability requirement information from the given context.
|
void |
CapabilityReferenceRecorder.removeCapabilityRequirements(OperationContext context,
Resource resource,
String attributeName,
String... attributeValues) |
Deregisters capability requirement information from the given context.
|
void |
CapabilityReferenceRecorder.ResourceCapabilityReferenceRecorder.removeCapabilityRequirements(OperationContext context,
Resource resource,
String attributeName,
String... attributeValues) |
|
void |
ObjectListAttributeDefinition.removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
ObjectMapAttributeDefinition.removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
ObjectTypeAttributeDefinition.removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
PrimitiveListAttributeDefinition.removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
SimpleListAttributeDefinition.removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
SimpleMapAttributeDefinition.removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
void |
StringListAttributeDefinition.removeCapabilityRequirements(OperationContext context,
Resource resource,
org.jboss.dmr.ModelNode attributeValue) |
|
protected void |
RestartParentResourceHandlerBase.removeServices(OperationContext context,
org.jboss.msc.service.ServiceName parentService,
org.jboss.dmr.ModelNode parentModel) |
Removes services.
|
protected void |
RestartParentWriteAttributeHandler.removeServices(OperationContext context,
org.jboss.msc.service.ServiceName parentService,
org.jboss.dmr.ModelNode parentModel) |
Removes services.
|
protected boolean |
AbstractAddStepHandler.requiresRuntime(OperationContext context) |
|
protected boolean |
AbstractModelUpdateHandler.requiresRuntime(OperationContext context) |
|
protected boolean |
AbstractRemoveStepHandler.requiresRuntime(OperationContext context) |
|
protected boolean |
AbstractRuntimeOnlyHandler.requiresRuntime(OperationContext context) |
|
protected boolean |
AbstractWriteAttributeHandler.requiresRuntime(OperationContext context) |
|
protected boolean |
ModelOnlyAddStepHandler.requiresRuntime(OperationContext context) |
Returns false.
|
protected boolean |
ModelOnlyRemoveStepHandler.requiresRuntime(OperationContext context) |
Returns false.
|
protected boolean |
ModelOnlyWriteAttributeHandler.requiresRuntime(OperationContext context) |
|
protected boolean |
ReloadRequiredAddStepHandler.requiresRuntime(OperationContext context) |
|
protected boolean |
RestartParentResourceHandlerBase.requiresRuntime(OperationContext context) |
Gets whether this operation needs to update the runtime.
|
protected boolean |
ServiceRemoveStepHandler.requiresRuntime(OperationContext context) |
Is a runtime step required? By default his method delegates to the supplied AbstractAddStepHandler, if
the add handler required a runtime step then most likely the remove step handler will also require one.
|
default org.jboss.dmr.ModelNode |
ExpressionResolver.resolveExpressions(org.jboss.dmr.ModelNode node,
OperationContext context) |
Resolves any expressions in the passed in ModelNode.
|
org.jboss.dmr.ModelNode |
ExpressionResolverImpl.resolveExpressions(org.jboss.dmr.ModelNode node,
OperationContext context) |
|
org.jboss.dmr.ModelNode |
AttributeDefinition.resolveModelAttribute(OperationContext context,
org.jboss.dmr.ModelNode model) |
Finds a value in the given model whose key matches this attribute's name,
uses the given context to resolve
it and validates it using this attribute's validator.
|
protected void |
ExpressionResolverImpl.resolvePluggableExpression(org.jboss.dmr.ModelNode node,
OperationContext context) |
Attempt to resolve the expression encapsulated in the given node,
setting the value of node to the resolved string if successful, or leaving node unaltered
if the expression is not of a form resolvable by this method.
|
org.jboss.dmr.ModelNode |
AttributeDefinition.resolveValue(OperationContext context,
org.jboss.dmr.ModelNode value) |
Takes the given value, resolves it using the given context
and validates it using this attribute's validator.
|
protected boolean |
AbstractRuntimeOnlyHandler.resourceMustExist(OperationContext context,
org.jboss.dmr.ModelNode operation) |
By default the handler will check whether the resource exist before calling @{link #executeRuntimeStep(OperationContext, ModelNode)}.
|
protected abstract void |
AbstractWriteAttributeHandler.revertUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode valueToRestore,
org.jboss.dmr.ModelNode valueToRevert,
T handback) |
|
protected void |
ModelOnlyWriteAttributeHandler.revertUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode valueToRestore,
org.jboss.dmr.ModelNode valueToRevert,
Void handback) |
|
protected void |
ReloadRequiredWriteAttributeHandler.revertUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode valueToRestore,
org.jboss.dmr.ModelNode resolvedValue,
Void handback) |
|
protected void |
RestartParentWriteAttributeHandler.revertUpdateToRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
String attributeName,
org.jboss.dmr.ModelNode valueToRestore,
org.jboss.dmr.ModelNode resolvedValue,
org.jboss.dmr.ModelNode invalidatedParentModel) |
|
protected void |
AbstractAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
AbstractAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model,
List<org.jboss.msc.service.ServiceController<?>> controllers) |
Deprecated.
|
protected void |
AbstractBoottimeAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
AbstractBoottimeAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model,
List<org.jboss.msc.service.ServiceController<?>> controllers) |
Deprecated.
|
protected void |
AbstractModelUpdateHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
ModelOnlyAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
ReloadRequiredAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
|
protected void |
RestartParentResourceHandlerBase.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
Rollback the update.
|
OperationTransformer.TransformedOperation |
TransformingProxyController.transformOperation(OperationContext context,
org.jboss.dmr.ModelNode operation) |
Transform the operation.
|
protected void |
RestartParentResourceAddHandler.updateModel(OperationContext context,
org.jboss.dmr.ModelNode operation) |
|
protected abstract void |
RestartParentResourceHandlerBase.updateModel(OperationContext context,
org.jboss.dmr.ModelNode operation) |
Performs the update to the persistent configuration model.
|
protected void |
RestartParentResourceRemoveHandler.updateModel(OperationContext context,
org.jboss.dmr.ModelNode operation) |
Performs the update to the persistent configuration model.
|
protected void |
AbstractWriteAttributeHandler.validateUpdatedModel(OperationContext context,
Resource model) |
Hook to allow subclasses to validate the model following the application of the new attribute value.
|