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.
  • 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 requirement
      requirement - 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 requirement
      requirement - 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 requirement
      requirement - the requirement of the specified capability
      requirementNameResolver - 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 requirement
      requirement - the requirement of the specified capability
      requirementNameResolver - 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 requirement
      requirement - the requirement of the specified capability
      requirementNameResolver - function for resolving the dynamic components of the requirement name