Interface DependenciesInfo


public interface DependenciesInfo
Represents a per ServiceInfo mapping of DependencyInfo's. These are typically assigned to a ServiceProvider via compile-time code generation within the Pico framework.
  • Method Details

    • serviceInfoDependencies

      Map<ServiceInfoCriteria,Set<DependencyInfo>> serviceInfoDependencies()
      Represents the set of dependencies for each ServiceInfo.
      Returns:
      map from the service info to its dependencies
    • fromServiceTypeName

      Optional<String> fromServiceTypeName()
      Optionally, the service type name aggregating allDependencies().
      Returns:
      the optional service type name for which these dependencies belong
    • allDependencies

      default Set<DependencyInfo> allDependencies()
      Represents a flattened set of all dependencies.
      Returns:
      the flattened set of all dependencies
    • allDependenciesFor

      default List<DependencyInfo> allDependenciesFor(String elemName)
      Represents the list of all dependencies for a given injection point element name ordered by the element position.
      Parameters:
      elemName - the element name of the injection point
      Returns:
      the list of all dependencies got a given element name of a given injection point
    • comparator

      static Comparator<DependencyInfo> comparator()
      Provides a comparator appropriate for DependencyInfo.
      Returns:
      a comparator for dependency info