Interface BootstrapLocatorMarker


@Internal public interface BootstrapLocatorMarker
Internal marker interface for PropertySourcesLocator implementations that supply bootstrap property sources. Used by DefaultEnvironment to identify locators whose sources must be added to the environment immediately after loading.
Since:
5.0
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static void
    Refreshes the environment of a bootstrap context that a refresh of the application context's environment reuses.
  • Method Details

    • refreshBootstrapEnvironment

      static void refreshBootstrapEnvironment(Environment bootstrapEnvironment)
      Refreshes the environment of a bootstrap context that a refresh of the application context's environment reuses. Its property source loaders are created again first, as they were when each refresh read the bootstrap configuration with a new environment.
      Parameters:
      bootstrapEnvironment - The environment of the bootstrap context