use of org.apereo.cas.config.support.CasConfigurationEmbeddedValueResolver 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