- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
DependencyInfo.BuilderBase.DependencyInfoImpl
Aggregates the set of
InjectionPointInfo's that are dependent upon a specific and common
ServiceInfo definition.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forDependencyInfo.static classDependencyInfo.BuilderBase<BUILDER extends DependencyInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends DependencyInfo> Fluent API builder base forDependencyInfo. -
Method Summary
Modifier and TypeMethodDescriptionstatic DependencyInfo.Builderbuilder()Create a new fluent API builder to customize configuration.static DependencyInfo.Builderbuilder(DependencyInfo instance) Create a new fluent API builder from an existing instance.The service info describing what the injection point dependencies are dependent upon.Name of the dependency location, such as a field name, or argument name.The set of injection points that depends upondependencyTo().TheServiceProviderthat this dependency is optional resolved and bound to.
-
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
-
elementName
String elementName()Name of the dependency location, such as a field name, or argument name.- Returns:
- name of the element of this dependency
-
dependencyTo
ServiceInfoCriteria dependencyTo()The service info describing what the injection point dependencies are dependent upon.- Returns:
- the service info dependency
-
injectionPointDependencies
Set<InjectionPointInfo> injectionPointDependencies()The set of injection points that depends upondependencyTo().- Returns:
- the set of dependencies
-
resolvedTo
Optional<ServiceProvider<?>> resolvedTo()TheServiceProviderthat this dependency is optional resolved and bound to. All dependencies frominjectionPointDependencies()will be bound to this resolution.- Returns:
- the optional resolved and bounded service provider
-