- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
InjectionPlan.BuilderBase.InjectionPlanImpl
Represents the injection plan targeting a given
ServiceProvider.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forInjectionPlan.static classInjectionPlan.BuilderBase<BUILDER extends InjectionPlan.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends InjectionPlan> Fluent API builder base forInjectionPlan. -
Method Summary
Modifier and TypeMethodDescriptionstatic InjectionPlan.Builderbuilder()Create a new fluent API builder to customize configuration.static InjectionPlan.Builderbuilder(InjectionPlan instance) Create a new fluent API builder from an existing instance.static InjectionPlancreate()Create a new instance with default values.The injection point info for this element, which will also include its identity information.List<ServiceProvider<?>> The list of service providers that are qualified to satisfy the given injection point for this service provider.resolved()The resolved value, set only ifwasResolved().The service provider this plan pertains to.booleanFlag indicating whether resolution occurred.
-
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
-
serviceProvider
ServiceProvider<?> serviceProvider()The service provider this plan pertains to.- Returns:
- the service provider this plan pertains to
-
injectionPointInfo
InjectionPointInfo injectionPointInfo()The injection point info for this element, which will also include its identity information.- Returns:
- the injection point info for this element
-
injectionPointQualifiedServiceProviders
List<ServiceProvider<?>> injectionPointQualifiedServiceProviders()The list of service providers that are qualified to satisfy the given injection point for this service provider.- Returns:
- the qualified service providers for this injection point
-
wasResolved
boolean wasResolved()Flag indicating whether resolution occurred.- Returns:
- true if resolution occurred
-
resolved
The resolved value, set only ifwasResolved().- Returns:
- any resolved value
-