Class ScriptsAutoConfiguration

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.netflix.genie.web.spring.autoconfigure.scripts.ScriptsAutoConfiguration.ManagedScriptPreLoader managedScriptPreLoader​(java.util.List<ManagedScript> managedScripts)
      Create a SmartInitializingSingleton that "warms" known scripts so they're ready for execution on first invocation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScriptsAutoConfiguration

        public ScriptsAutoConfiguration()
    • Method Detail

      • managedScriptPreLoader

        @Bean
        public com.netflix.genie.web.spring.autoconfigure.scripts.ScriptsAutoConfiguration.ManagedScriptPreLoader managedScriptPreLoader​(java.util.List<ManagedScript> managedScripts)
        Create a SmartInitializingSingleton that "warms" known scripts so they're ready for execution on first invocation.
        Parameters:
        managedScripts - the managed scripts, if any exist in context
        Returns:
        A ScriptsAutoConfiguration.ManagedScriptPreLoader that runs after the application context is ready