use of org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor in project cas by apereo.
the class CasCoreUtilConfiguration method init.
@PostConstruct
public void init() {
final ConfigurableApplicationContext applicationContext = applicationContextProvider().getConfigurableApplicationContext();
final DefaultFormattingConversionService conversionService = new DefaultFormattingConversionService(true);
applicationContext.getEnvironment().setConversionService(conversionService);
final ScheduledAnnotationBeanPostProcessor p = applicationContext.getBean(ScheduledAnnotationBeanPostProcessor.class);
p.setEmbeddedValueResolver(new CasConfigurationEmbeddedValueResolver(applicationContext));
}
Aggregations