Class TimefoldBenchmarkAutoConfiguration

java.lang.Object
ai.timefold.solver.spring.boot.autoconfigure.TimefoldBenchmarkAutoConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.ApplicationContextAware

@Configuration @AutoConfigureAfter(TimefoldSolverAutoConfiguration.class) @ConditionalOnClass(ai.timefold.solver.benchmark.api.PlannerBenchmarkFactory.class) @ConditionalOnMissingBean(ai.timefold.solver.benchmark.api.PlannerBenchmarkFactory.class) @EnableConfigurationProperties(TimefoldProperties.class) public class TimefoldBenchmarkAutoConfiguration extends Object implements org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.ApplicationContextAware
  • Constructor Details

    • TimefoldBenchmarkAutoConfiguration

      protected TimefoldBenchmarkAutoConfiguration(TimefoldProperties timefoldProperties)
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • plannerBenchmarkConfig

      @Bean @Lazy public PlannerBenchmarkConfig plannerBenchmarkConfig()
    • plannerBenchmarkFactory

      @Bean @Lazy public PlannerBenchmarkFactory plannerBenchmarkFactory(PlannerBenchmarkConfig benchmarkConfig)
    • setBeanClassLoader

      public void setBeanClassLoader(ClassLoader classLoader)
      Specified by:
      setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware