Interface Bootstrap

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
Bootstrap.BuilderBase.BootstrapImpl

public interface Bootstrap extends Prototype.Api
This is the bootstrap needed to provide to Services initialization.
See Also:
  • Method Details

    • builder

      static Bootstrap.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static Bootstrap.Builder builder(Bootstrap instance)
      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

      static Bootstrap create()
      Create a new instance with default values.
      Returns:
      a new instance
    • config

      Optional<Config> config()
      Provides the base primordial bootstrap configuration to the InjectionServicesProvider. The provider will then bootstrap InjectionServices using this bootstrap instance. then default values will be used accordingly.
      Returns:
      the bootstrap helidon configuration
    • limitRuntimePhase

      Optional<Phase> limitRuntimePhase()
      In certain conditions Injection services should be initialized but not started (i.e., avoiding calls to PostConstruct etc.). 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