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.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault Set<DependencyInfo>Represents a flattened set of all dependencies.default List<DependencyInfo>allDependenciesFor(String elemName) Represents the list of all dependencies for a given injection point element name ordered by the element position.static Comparator<DependencyInfo>Provides a comparator appropriate forDependencyInfo.Optionally, the service type name aggregatingallDependencies().Represents the set of dependencies for eachServiceInfo.
-
Method Details
-
serviceInfoDependencies
Map<ServiceInfoCriteria,Set<DependencyInfo>> serviceInfoDependencies()Represents the set of dependencies for eachServiceInfo.- Returns:
- map from the service info to its dependencies
-
fromServiceTypeName
Optionally, the service type name aggregatingallDependencies().- Returns:
- the optional service type name for which these dependencies belong
-
allDependencies
Represents a flattened set of all dependencies.- Returns:
- the flattened set of all dependencies
-
allDependenciesFor
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
Provides a comparator appropriate forDependencyInfo.- Returns:
- a comparator for dependency info
-