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 Summary
ConstructorsModifierConstructorDescriptionprotectedTimefoldBenchmarkAutoConfiguration(TimefoldProperties timefoldProperties) -
Method Summary
Modifier and TypeMethodDescriptionplannerBenchmarkFactory(PlannerBenchmarkConfig benchmarkConfig) voidsetApplicationContext(org.springframework.context.ApplicationContext context) voidsetBeanClassLoader(ClassLoader classLoader)
-
Constructor Details
-
TimefoldBenchmarkAutoConfiguration
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
plannerBenchmarkConfig
-
plannerBenchmarkFactory
@Bean @Lazy public PlannerBenchmarkFactory plannerBenchmarkFactory(PlannerBenchmarkConfig benchmarkConfig) -
setBeanClassLoader
- Specified by:
setBeanClassLoaderin interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-