Interface CapabilityReferenceRecorder<T>

Type Parameters:
T - the requirement type
All Superinterfaces:
CapabilityReference<T>, org.jboss.as.controller.CapabilityReferenceRecorder, CapabilityReferenceResolver<T>, org.jboss.as.controller.Feature
All Known Implementing Classes:
CapabilityReferenceRecorder.CapabilityServiceDescriptorReferenceRecorder, ResourceCapabilityReferenceRecorder.ResourceCapabilityServiceDescriptorReference

@Deprecated(forRemoval=true, since="26.0.0") public interface CapabilityReferenceRecorder<T> extends CapabilityReference<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by CapabilityReference.
A CapabilityReferenceRecorder whose requirement is specified as a ServiceDescriptor.
  • Method Details

    • builder

      @Deprecated(forRemoval=true, since="26.0.0") static <T> CapabilityReferenceRecorder.Builder<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 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> CapabilityReferenceRecorder.ParentPathProvider<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 new reference between the specified capability and the specified requirement. By default, the requirement's parent segment derives from 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> CapabilityReferenceRecorder.GrandparentPathProvider<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 new reference between the specified capability and the specified requirement. By default, the requirement's grandparent and parent segments derive from the path of the parent and current resources, respectively.
      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> CapabilityReferenceRecorder.GreatGrandparentPathProvider<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 new reference between the specified capability and the specified requirement. By default, the requirement's great-grandparent, grandparent, and parent segments derive from the path of the grandparent, parent, and current resources, respectively.
      Parameters:
      capability - the capability referencing the specified requirement
      requirement - the requirement of the specified capability