- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
Bootstrap.BuilderBase.BootstrapImpl
This is the bootstrap needed to provide to
Services initialization.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forBootstrap.static classBootstrap.BuilderBase<BUILDER extends Bootstrap.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends Bootstrap> Fluent API builder base forBootstrap. -
Method Summary
Modifier and TypeMethodDescriptionstatic Bootstrap.Builderbuilder()Create a new fluent API builder to customize configuration.static Bootstrap.BuilderCreate a new fluent API builder from an existing instance.config()Provides the base primordial bootstrap configuration to theInjectionServicesProvider.static Bootstrapcreate()Create a new instance with default values.In certain conditions Injection services should be initialized but not started (i.e., avoiding calls toPostConstructetc.).
-
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
-
config
Provides the base primordial bootstrap configuration to theInjectionServicesProvider. The provider will then bootstrapInjectionServicesusing this bootstrap instance. then default values will be used accordingly.- Returns:
- the bootstrap helidon configuration
-
limitRuntimePhase
In certain conditions Injection services should be initialized but not started (i.e., avoiding calls toPostConstructetc.). This can be used in special cases where the normal Injection startup should limit lifecycle up to a given phase. Normally one should not use this feature - it is mainly used in Injection tooling (e.g., the injection maven-plugin).- Returns:
- the phase to stop at during lifecycle
-