Interface ResourceCapabilityReferenceRecorder<T>
- Type Parameters:
T- the requirement type
- All Superinterfaces:
CapabilityReference<T>,org.jboss.as.controller.CapabilityReferenceRecorder,CapabilityReferenceResolver<T>,org.jboss.as.controller.Feature,ResourceCapabilityReference<T>,ResourceModelResolver<ServiceDependency<T>>,ResourceResolver<ServiceDependency<T>>
- All Known Implementing Classes:
ResourceCapabilityReferenceRecorder.ResourceCapabilityServiceDescriptorReference
@Deprecated(forRemoval=true,
since="26.0.0")
public interface ResourceCapabilityReferenceRecorder<T>
extends ResourceCapabilityReference<T>
Deprecated, for removal: This API element is subject to removal in a future version.
A
CapabilityReference specialization that records requirements of a resource, rather than an attribute.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version.static interfaceDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version.Nested classes/interfaces inherited from interface org.wildfly.subsystem.resource.capability.CapabilityReference
CapabilityReference.AbstractServiceDescriptorReference<T>, CapabilityReference.GrandparentAttributeProvider<T>, CapabilityReference.GrandparentPathProvider<T>, CapabilityReference.GreatGrandparentAttributeProvider<T>, CapabilityReference.GreatGrandparentPathProvider<T>, CapabilityReference.ParentAttributeProvider<T>, CapabilityReference.ParentPathProvider<T>, CapabilityReference.RequirementNameSegmentResolver, CapabilityReference.ServiceDescriptorReference<T>Nested classes/interfaces inherited from interface org.jboss.as.controller.CapabilityReferenceRecorder
org.jboss.as.controller.CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder, org.jboss.as.controller.CapabilityReferenceRecorder.ContextDependencyRecorder, org.jboss.as.controller.CapabilityReferenceRecorder.DefaultCapabilityReferenceRecorder, org.jboss.as.controller.CapabilityReferenceRecorder.ResourceCapabilityReferenceRecorderNested classes/interfaces inherited from interface org.wildfly.subsystem.resource.capability.ResourceCapabilityReference
ResourceCapabilityReference.AbstractResourceCapabilityServiceDescriptorReference<T> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ResourceCapabilityReferenceRecorder.NaryBuilder<T>builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.BinaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.static <T> ResourceCapabilityReferenceRecorder.Builder<T>builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.NullaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.static <T> ResourceCapabilityReferenceRecorder.NaryBuilder<T>builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.QuaternaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.static <T> ResourceCapabilityReferenceRecorder.NaryBuilder<T>builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.TernaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.static <T> ResourceCapabilityReferenceRecorder.NaryBuilder<T>builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.UnaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface org.wildfly.subsystem.resource.capability.CapabilityReference
getBaseDependentName, getBaseRequirementName, getDependentMethods inherited from interface org.jboss.as.controller.CapabilityReferenceRecorder
getRequirementPatternSegments, isDynamicDependentMethods inherited from interface org.wildfly.subsystem.resource.capability.CapabilityReferenceResolver
getRequirement, resolveMethods inherited from interface org.jboss.as.controller.Feature
getStabilityMethods inherited from interface org.wildfly.subsystem.resource.capability.ResourceCapabilityReference
addCapabilityRequirements, addCapabilityRequirements, getRequirementNameResolver, removeCapabilityRequirements, removeCapabilityRequirementsMethods inherited from interface org.wildfly.subsystem.resource.ResourceModelResolver
resolve, resolve
-
Method Details
-
builder
@Deprecated(forRemoval=true, since="26.0.0") static <T> ResourceCapabilityReferenceRecorder.Builder<T> builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.NullaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.Creates a builder for a new reference between the specified capability and the specified requirement.- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capability
-
builder
@Deprecated(forRemoval=true, since="26.0.0") static <T> ResourceCapabilityReferenceRecorder.NaryBuilder<T> builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.UnaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.Creates a builder for a new reference between the specified capability and the specified requirement. By default, the requirement name will resolve against the path of the current resource.- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capability
-
builder
@Deprecated(forRemoval=true, since="26.0.0") static <T> ResourceCapabilityReferenceRecorder.NaryBuilder<T> builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.BinaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.Creates a builder for a new reference between the specified capability and the specified requirement. By default, the requirement name will resolve against the paths of the parent and current resources, respectively.- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capabilityrequirementNameResolver- function for resolving the dynamic components of the requirement name
-
builder
@Deprecated(forRemoval=true, since="26.0.0") static <T> ResourceCapabilityReferenceRecorder.NaryBuilder<T> builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.TernaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.Creates a builder for a new reference between the specified capability and the specified requirement. By default, the requirement name will resolve against the paths of the grandparent, parent, and current resources, respectively.- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capabilityrequirementNameResolver- function for resolving the dynamic components of the requirement name
-
builder
@Deprecated(forRemoval=true, since="26.0.0") static <T> ResourceCapabilityReferenceRecorder.NaryBuilder<T> builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.QuaternaryServiceDescriptor<T> requirement) Deprecated, for removal: This API element is subject to removal in a future version.Creates a builder for a new reference between the specified capability and the specified requirement. By default, the requirement name will resolve against the paths of the great-grandparent, grandparent, parent, and current resources, respectively.- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capabilityrequirementNameResolver- function for resolving the dynamic components of the requirement name
-
ResourceCapabilityReference.