Class ModelPreloader<T extends org.springframework.boot.context.event.SpringApplicationEvent>

java.lang.Object
com.blueriq.web.startup.preloadmodel.ModelPreloader<T>
Type Parameters:
T - SpringApplicationEvent the model (pre)loader
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<T>
Direct Known Subclasses:
WaitForModelPreloader, WhenReadyModelPreloader

public abstract class ModelPreloader<T extends org.springframework.boot.context.event.SpringApplicationEvent> extends Object implements org.springframework.context.ApplicationListener<T>
Abstract ModelPreloader responsible to load applications in memory to make sure a end-user does not have to wait for the model to be loaded as it would be loaded before the request.
  • Field Details

  • Constructor Details

    • ModelPreloader

      public ModelPreloader(com.aquima.interactions.portal.IPortalEngine portalEngine, ModelPreloadProperties modelPreloadProperties)
  • Method Details

    • preloadModels

      protected void preloadModels()