Class OptaPlannerBenchmarkAutoConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware

    @Configuration
    @AutoConfigureAfter(OptaPlannerAutoConfiguration.class)
    @ConditionalOnClass(org.optaplanner.benchmark.api.PlannerBenchmarkFactory.class)
    @ConditionalOnMissingBean(org.optaplanner.benchmark.api.PlannerBenchmarkFactory.class)
    @EnableConfigurationProperties(OptaPlannerProperties.class)
    public class OptaPlannerBenchmarkAutoConfiguration
    extends Object
    implements org.springframework.beans.factory.BeanClassLoaderAware
    • Constructor Detail

      • OptaPlannerBenchmarkAutoConfiguration

        protected OptaPlannerBenchmarkAutoConfiguration​(org.springframework.context.ApplicationContext context,
                                                        OptaPlannerProperties optaPlannerProperties)
    • Method Detail

      • plannerBenchmarkConfig

        @Bean
        public org.optaplanner.benchmark.config.PlannerBenchmarkConfig plannerBenchmarkConfig​(org.optaplanner.core.config.solver.SolverConfig solverConfig)
      • plannerBenchmarkFactory

        @Bean
        public org.optaplanner.benchmark.api.PlannerBenchmarkFactory plannerBenchmarkFactory​(org.optaplanner.benchmark.config.PlannerBenchmarkConfig benchmarkConfig)
      • setBeanClassLoader

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