Interface BackgroundPreinitializer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BackgroundPreinitializer
Interface used to preinitialize in the background code that may otherwise cause a delay when first called. Implementations should be registered in spring.factories.
Since:
4.0.0
Author:
Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Perform any require preinitialization.
  • Method Details

    • preinitialize

      void preinitialize() throws Exception
      Perform any require preinitialization.
      Throws:
      Exception - on any initialization error