Interface CapabilityReferenceResolver<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.wildfly.service.descriptor.ServiceDescriptor<T> getRequirement()
      Returns the service descriptor required by the dependent capability.
      Map.Entry<String,​String[]> resolve​(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.registry.Resource resource, String value)
      Resolves the dynamic segments of this capability reference.
    • Method Detail

      • getRequirement

        org.wildfly.service.descriptor.ServiceDescriptor<T> getRequirement()
        Returns the service descriptor required by the dependent capability.
        Returns:
        a service descriptor
      • resolve

        Map.Entry<String,​String[]> resolve​(org.jboss.as.controller.OperationContext context,
                                                 org.jboss.as.controller.registry.Resource resource,
                                                 String value)
        Resolves the dynamic segments of this capability reference.
        Parameters:
        context - an operation context
        resource - the resource
        value - the attribute value
        Returns:
        a map entry containing the requirement name and array of dynamic name segments