- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
DependenciesInfo.BuilderBase.DependenciesInfoImpl
Represents a per
ServiceInfo mapping of DependencyInfo's. These are typically assigned to a
ServiceProvider via compile-time code generation within the Injection framework.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forDependenciesInfo.static classDependenciesInfo.BuilderBase<BUILDER extends DependenciesInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends DependenciesInfo> Fluent API builder base forDependenciesInfo. -
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 DependenciesInfo.Builderbuilder()Create a new fluent API builder to customize configuration.static DependenciesInfo.Builderbuilder(DependenciesInfo instance) Create a new fluent API builder from an existing instance.static DependenciesInfocreate()Create a new instance with default values.Optionally, the service type name aggregatingallDependencies().Represents the set of dependencies for eachServiceInfo.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
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
-