Interface Bootstrap


public interface Bootstrap
This is the bootstrap needed to provide to Pico initialization.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides the base primordial bootstrap configuration to the PicoServicesProvider.
    In certain conditions Pico services should be initialized but not started (i.e., avoiding calls to PostConstruct etc.).
  • Method Details

    • config

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

      Optional<Phase> limitRuntimePhase()
      In certain conditions Pico services should be initialized but not started (i.e., avoiding calls to PostConstruct etc.). This can be used in special cases where the normal Pico startup should limit lifecycle up to a given phase. Normally one should not use this feature - it is mainly used in Pico tooling (e.g., the pico-maven-plugin).
      Returns:
      the phase to stop at during lifecycle