Class TimefoldSolverAutoConfiguration

java.lang.Object
ai.timefold.solver.spring.boot.autoconfigure.TimefoldSolverAutoConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware

@Configuration(proxyBeanMethods=false) @ConditionalOnClass({ai.timefold.solver.core.config.solver.SolverConfig.class,ai.timefold.solver.core.api.solver.SolverFactory.class,ai.timefold.solver.core.api.score.ScoreManager.class,ai.timefold.solver.core.api.solver.SolutionManager.class,ai.timefold.solver.core.api.solver.SolverManager.class}) @ConditionalOnMissingBean({ai.timefold.solver.core.config.solver.SolverConfig.class,ai.timefold.solver.core.api.solver.SolverFactory.class,ai.timefold.solver.core.api.score.ScoreManager.class,ai.timefold.solver.core.api.solver.SolutionManager.class,ai.timefold.solver.core.api.solver.SolverManager.class}) @EnableConfigurationProperties(TimefoldProperties.class) public class TimefoldSolverAutoConfiguration extends Object implements org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
  • Constructor Details

    • TimefoldSolverAutoConfiguration

      protected TimefoldSolverAutoConfiguration()
  • Method Details

    • setBeanClassLoader

      public void setBeanClassLoader(ClassLoader beanClassLoader)
      Specified by:
      setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware
    • 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
    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware
    • processAheadOfTime

      public org.springframework.beans.factory.aot.BeanFactoryInitializationAotContribution processAheadOfTime(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
      Specified by:
      processAheadOfTime in interface org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor
    • postProcessBeanDefinitionRegistry

      public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeanDefinitionRegistry in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
      Throws:
      org.springframework.beans.BeansException