| Modifier and Type | Method and Description |
|---|---|
protected Resource |
AbstractAddStepHandler.createResource(OperationContext context)
Create the
Resource that the AbstractAddStepHandler.execute(OperationContext, ModelNode)
method operates on. |
protected Resource |
AbstractAddStepHandler.createResource(OperationContext context,
org.jboss.dmr.ModelNode operation)
Create the
Resource that the AbstractAddStepHandler.execute(OperationContext, ModelNode)
method operates on. |
Resource |
OperationContext.createResource(PathAddress address)
Create a new resource, relative to the executed operation address.
|
Resource |
OperationContext.getOriginalRootResource()
Get a read-only reference of the entire management model BEFORE any changes were made by this context.
|
Resource |
ManagementModel.getRootResource()
Gets the root resource of the concrete configuration model.
|
Resource |
OperationContext.readResource(PathAddress relativeAddress)
Get the resource for read only operations, relative to the executed operation address.
|
Resource |
OperationContext.readResource(PathAddress relativeAddress,
boolean recursive)
Get the resource for read only operations, relative to the executed operation address.
|
Resource |
OperationContext.readResourceForUpdate(PathAddress relativeAddress)
Get an addressable resource for update operations.
|
Resource |
OperationContext.readResourceFromRoot(PathAddress address)
Read an addressable resource from the root of the model.
|
Resource |
OperationContext.readResourceFromRoot(PathAddress address,
boolean recursive)
Read an addressable resource from the root of the model.
|
Resource |
OperationContext.removeResource(PathAddress relativeAddress)
Remove a resource relative to the executed operation address.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OperationContext.addResource(PathAddress address,
int index,
Resource toAdd)
Add a new resource, at to the executed operation address.
|
void |
OperationContext.addResource(PathAddress address,
Resource toAdd)
Add a new resource, at the executed operation address.
|
protected org.jboss.dmr.ModelNode |
AbstractControllerService.executeReadOnlyOperation(org.jboss.dmr.ModelNode operation,
Resource model,
ModelController.OperationTransactionControl control,
OperationStepHandler prepareStep)
Deprecated.
|
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)
Hook to allow subclasses to do any final
OperationContext.Stage.MODEL processing following the
application of the new attribute value. |
protected abstract void |
AbstractControllerService.initModel(ManagementModel managementModel,
Resource modelControllerResource) |
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 |
ReloadRequiredAddStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
protected void |
ModelOnlyAddStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
Throws
UnsupportedOperationException. |
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 |
AbstractBoottimeAddStepHandler.performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
|
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.populateModel(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.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 |
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 |
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 |
ReloadRequiredAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
protected void |
ModelOnlyAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
Throws
UnsupportedOperationException. |
protected void |
AbstractModelUpdateHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
Rollback runtime changes made in
AbstractModelUpdateHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource). |
protected void |
AbstractBoottimeAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
Overrides the superclass to call
OperationContext.revertReloadRequired()
if OperationContext.isBooting() returns false. |
protected void |
AbstractAddStepHandler.rollbackRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource)
Rollback runtime changes made in
AbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.as.controller.registry.Resource). |
protected void |
AbstractModelUpdateHandler.updateModel(org.jboss.dmr.ModelNode operation,
Resource resource)
Update the given resource in the persistent configuration model based on the values in the given operation.
|
protected void |
AbstractWriteAttributeHandler.validateUpdatedModel(OperationContext context,
Resource model)
Hook to allow subclasses to validate the model following the application of the new attribute value.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
TargetResource.getResource() |
| Modifier and Type | Method and Description |
|---|---|
static TargetResource |
TargetResource.forDomain(PathAddress address,
ImmutableManagementResourceRegistration resourceRegistration,
Resource resource,
ServerGroupEffect serverGroupEffect,
HostEffect hostEffect) |
static TargetResource |
TargetResource.forStandalone(PathAddress address,
ImmutableManagementResourceRegistration resourceRegistration,
Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
void |
ManagedAuditLoggerImpl.log(boolean readOnly,
OperationContext.ResultAction resultAction,
String userId,
String domainUUID,
AccessMechanism accessMechanism,
InetAddress remoteAddress,
Resource resultantModel,
List<org.jboss.dmr.ModelNode> operations) |
void |
AuditLogger.log(boolean readOnly,
OperationContext.ResultAction resultAction,
String userId,
String domainUUID,
AccessMechanism accessMechanism,
InetAddress remoteAddress,
Resource resultantModel,
List<org.jboss.dmr.ModelNode> operations) |
| Modifier and Type | Method and Description |
|---|---|
abstract Resource |
CapabilityResolutionContext.getResourceRoot()
Gets the root resource of the resource tree in effect during this resolution.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExtensionResource
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
ExtensionResource.getChild(PathElement element) |
Resource |
ExtensionResource.navigate(PathAddress address) |
Resource |
ExtensionResource.removeChild(PathElement address) |
Resource |
ExtensionResource.requireChild(PathElement element) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExtensionResource.registerChild(PathElement address,
int index,
Resource resource) |
void |
ExtensionResource.registerChild(PathElement address,
Resource resource) |
void |
ExtensionRegistry.removeExtension(Resource rootResource,
String moduleName,
ManagementResourceRegistration rootRegistration)
Cleans up a extension module's subsystems from the resource registration model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OrderedChildTypesAttachment.addOrderedChildResourceTypes(PathAddress resourceAddress,
Resource resource)
If the resource has ordered child types, those child types will be stored in the attachment.
|
protected org.jboss.dmr.ModelNode |
GenericSubsystemDescribeHandler.createAddOperation(OrderedChildTypesAttachment orderedChildTypesAttachment,
org.jboss.dmr.ModelNode address,
Resource resource,
Set<PathElement> children) |
protected void |
GenericSubsystemDescribeHandler.describe(OrderedChildTypesAttachment orderedChildTypesAttachment,
Resource resource,
org.jboss.dmr.ModelNode address,
org.jboss.dmr.ModelNode result,
ImmutableManagementResourceRegistration registration) |
protected void |
AbstractSocketBindingGroupAddHandler.populateModel(OperationContext context,
org.jboss.dmr.ModelNode operation,
Resource resource) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Resource.ResourceEntry |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractModelResource
Abstract
Resource implementation. |
class |
DelegatingResource
|
class |
PlaceholderResource
Resource that solely holds a place in the resource tree and has no model or children.
|
static class |
PlaceholderResource.PlaceholderResourceEntry |
| Modifier and Type | Method and Description |
|---|---|
Resource |
Resource.clone()
Creates and returns a copy of this resource.
|
Resource |
PlaceholderResource.clone() |
Resource |
DelegatingResource.clone() |
abstract Resource |
AbstractModelResource.clone() |
static Resource |
Resource.Factory.create()
Create a default resource implementation.
|
static Resource |
Resource.Factory.create(boolean runtimeOnly)
Create a default resource implementation.
|
static Resource |
Resource.Factory.create(boolean runtimeOnly,
Set<String> orderedChildTypes)
Create a default resource implementation.
|
Resource |
ResourceProvider.get(String name) |
Resource |
Resource.getChild(PathElement element)
Get a single child of this resource with the given address.
|
Resource |
PlaceholderResource.getChild(PathElement element) |
Resource |
DelegatingResource.getChild(PathElement element) |
Resource |
AbstractModelResource.getChild(PathElement address) |
Resource |
DelegatingResource.ResourceDelegateProvider.getDelegateResource()
Gets the delegate.
|
Resource |
Resource.navigate(PathAddress address)
Navigate the resource tree.
|
Resource |
PlaceholderResource.navigate(PathAddress address) |
Resource |
DelegatingResource.navigate(PathAddress address) |
Resource |
AbstractModelResource.navigate(PathAddress address) |
static Resource |
Resource.Tools.navigate(Resource resource,
PathAddress address)
Navigate from a parent
resource to the descendant resource at the given relative address. |
Resource |
AliasEntry.AliasContext.readResourceFromRoot(PathAddress address) |
Resource |
AliasEntry.AliasContext.readResourceFromRoot(PathAddress address,
boolean recursive) |
Resource |
ResourceProvider.remove(String name) |
Resource |
Resource.removeChild(PathElement address)
Remove a child resource.
|
Resource |
PlaceholderResource.removeChild(PathElement address) |
Resource |
DelegatingResource.removeChild(PathElement address) |
Resource |
AbstractModelResource.removeChild(PathElement address) |
Resource |
Resource.requireChild(PathElement element)
Get a single child of this resource with the given address.
|
Resource |
PlaceholderResource.requireChild(PathElement element) |
Resource |
DelegatingResource.requireChild(PathElement element) |
Resource |
AbstractModelResource.requireChild(PathElement address) |
default Resource |
Resource.shallowCopy()
Creates a shallow copy of this resource, which will only have placeholder resources
for immediate children.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResourceFilter.accepts(PathAddress address,
Resource resource)
Test whether the resource should be included or not.
|
static void |
ResourceProvider.Tool.addResourceProvider(String name,
ResourceProvider provider,
Resource resource) |
static Resource |
Resource.Tools.navigate(Resource resource,
PathAddress address)
Navigate from a parent
resource to the descendant resource at the given relative address. |
static org.jboss.dmr.ModelNode |
Resource.Tools.readModel(Resource resource)
Recursively reads an entire resource tree, ignoring runtime-only and proxy resources, and generates
a DMR tree representing all of the non-ignored resources.
|
static org.jboss.dmr.ModelNode |
Resource.Tools.readModel(Resource resource,
ImmutableManagementResourceRegistration mrr)
Recursively reads an entire resource tree, ignoring runtime-only and proxy resources, and generates
a DMR tree representing all of the non-ignored resources.
|
static org.jboss.dmr.ModelNode |
Resource.Tools.readModel(Resource resource,
int level)
Reads a resource tree, recursing up to the given number of levels but ignoring runtime-only and proxy resources,
and generates a DMR tree representing all of the non-ignored resources.
|
static org.jboss.dmr.ModelNode |
Resource.Tools.readModel(Resource resource,
int level,
ImmutableManagementResourceRegistration mrr)
Reads a resource tree, recursing up to the given number of levels but ignoring runtime-only and proxy resources,
and generates a DMR tree representing all of the non-ignored resources.
|
static org.jboss.dmr.ModelNode |
Resource.Tools.readModel(Resource resource,
int level,
ResourceFilter filter)
Reads a resource tree, recursing up to the given number of levels but ignoring resources not accepted
by the given
filter, and generates a DMR tree representing all of the non-ignored resources. |
void |
ResourceProvider.register(String value,
int index,
Resource resource) |
void |
ResourceProvider.register(String name,
Resource resource) |
void |
Resource.registerChild(PathElement address,
int index,
Resource resource)
Register a child resource
|
void |
PlaceholderResource.registerChild(PathElement address,
int index,
Resource resource) |
void |
DelegatingResource.registerChild(PathElement address,
int index,
Resource resource) |
void |
AbstractModelResource.registerChild(PathElement address,
int index,
Resource resource) |
void |
Resource.registerChild(PathElement address,
Resource resource)
Register a child resource.
|
void |
PlaceholderResource.registerChild(PathElement address,
Resource resource) |
void |
DelegatingResource.registerChild(PathElement address,
Resource resource) |
void |
AbstractModelResource.registerChild(PathElement address,
Resource resource) |
| Constructor and Description |
|---|
DelegatingResource(Resource delegate)
Creates a new DelegatingResource with a fixed delegate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PathManagerService.addPathManagerResources(Resource resource)
Add child resources to the given resource, one for each
PathEntry currently associated with this
path manager. |
| Modifier and Type | Method and Description |
|---|---|
Resource |
Transformers.TransformationInputs.getRootResource()
Gets a copy of the full resource tree as it existed at the time this object was created.
|
Resource |
ResourceTransformationContext.getTransformedRoot()
Get the transformed root.
|
Resource |
TransformationContext.readResource(PathAddress address)
Read a model resource.
|
Resource |
TransformationContext.readResourceFromRoot(PathAddress address)
Read a model resource from the root.
|
Resource |
ResourceTransformationContext.readTransformedResource(PathAddress address)
Read a resource from the transformed model.
|
Resource |
TransformersImpl.transformResource(ResourceTransformationContext context,
Resource resource) |
Resource |
Transformers.transformResource(ResourceTransformationContext context,
Resource resource)
Only for use by test frameworks..
|
Resource |
TransformersImpl.transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource) |
Resource |
Transformers.transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource)
Transform a given root resource, including children.
|
Resource |
TransformersImpl.transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource,
Transformers.ResourceIgnoredTransformationRegistry ignoredTransformationRegistry) |
Resource |
Transformers.transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource,
Transformers.ResourceIgnoredTransformationRegistry ignoredTransformationRegistry)
Transform a given resource, including children, removing resources that the given
ignoredTransformationRegistry
indicates are being ignored by the target process. |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceTransformationContext.addTransformedRecursiveResource(PathAddress relativeAddress,
Resource resource)
Add a resource recursively including it's children.
|
ResourceTransformationContext |
ResourceTransformationContext.addTransformedResource(PathAddress relativeAddress,
Resource resource)
Add a resource.
|
ResourceTransformationContext |
ResourceTransformationContext.addTransformedResourceFromRoot(PathAddress absoluteAddress,
Resource resource)
Add a resource from the root of the model.
|
static ResourceTransformationContext |
Transformers.Factory.create(TransformationTarget target,
Resource model,
ImmutableManagementResourceRegistration registration,
ExpressionResolver resolver,
RunningMode runningMode,
ProcessType type,
TransformerOperationAttachment attachment)
Creates a ResourceTransformationContext
|
static ResourceTransformationContext |
Transformers.Factory.create(TransformationTarget target,
Resource model,
ImmutableManagementResourceRegistration registration,
ExpressionResolver resolver,
RunningMode runningMode,
ProcessType type,
TransformerOperationAttachment attachment,
Transformers.ResourceIgnoredTransformationRegistry ignoredTransformationRegistry)
Creates a ResourceTransformationContext
|
boolean |
DiscardAttributesTransformer.DiscardApprover.isResourceDiscardAllowed(TransformationContext context,
PathAddress address,
Resource resource)
Replies with whether resource transformation should be done.
|
boolean |
DiscardAttributesTransformer.AttributeValueDiscardApprover.isResourceDiscardAllowed(TransformationContext context,
PathAddress address,
Resource resource) |
void |
ResourceTransformationContext.processChild(PathElement element,
Resource child)
Process a child.
|
void |
ResourceTransformationContext.processChildren(Resource resource)
Process all children of a given resource.
|
void |
ResourceTransformer.transformResource(ResourceTransformationContext context,
PathAddress address,
Resource resource)
Transform a resource.
|
void |
RejectExpressionValuesTransformer.transformResource(ResourceTransformationContext context,
PathAddress address,
Resource resource) |
void |
DiscardUndefinedAttributesTransformer.transformResource(ResourceTransformationContext context,
PathAddress address,
Resource resource) |
void |
DiscardAttributesTransformer.transformResource(ResourceTransformationContext context,
PathAddress address,
Resource resource) |
void |
AliasOperationTransformer.transformResource(ResourceTransformationContext currentCtx,
PathAddress address,
Resource resource)
Deprecated.
|
void |
AddNameFromAddressResourceTransformer.transformResource(ResourceTransformationContext context,
PathAddress address,
Resource resource) |
Resource |
TransformersImpl.transformResource(ResourceTransformationContext context,
Resource resource) |
Resource |
Transformers.transformResource(ResourceTransformationContext context,
Resource resource)
Only for use by test frameworks..
|
Resource |
TransformersImpl.transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource) |
Resource |
Transformers.transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource)
Transform a given root resource, including children.
|
Resource |
TransformersImpl.transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource,
Transformers.ResourceIgnoredTransformationRegistry ignoredTransformationRegistry) |
Resource |
Transformers.transformRootResource(Transformers.TransformationInputs transformationInputs,
Resource resource,
Transformers.ResourceIgnoredTransformationRegistry ignoredTransformationRegistry)
Transform a given resource, including children, removing resources that the given
ignoredTransformationRegistry
indicates are being ignored by the target process. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.