Class BackgroundPreinitializer

  • All Implemented Interfaces:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.SpringApplicationEvent>

    @Order(-2147483627)
    public class BackgroundPreinitializer
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.SpringApplicationEvent>
    ApplicationListener to trigger early initialization in a background thread of time consuming tasks.
    Since:
    1.3.0
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.boot.context.event.SpringApplicationEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.SpringApplicationEvent>