Class ScriptsAutoConfiguration

java.lang.Object
com.netflix.genie.web.spring.autoconfigure.scripts.ScriptsAutoConfiguration

Configuration for script extensions.
Since:
4.0.0
  • Constructor Details

    • ScriptsAutoConfiguration

      public ScriptsAutoConfiguration()
  • Method Details

    • managedScriptPreLoader

      @Bean public com.netflix.genie.web.spring.autoconfigure.scripts.ScriptsAutoConfiguration.ManagedScriptPreLoader managedScriptPreLoader(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