code: public static StringValueResolver prepScheduledAnnotationBeanPostProcessor(final ApplicationContext applicationContext) {
          val resolver = new CasEmbeddedValueResolver(applicationContext);
          try {
              val sch = applicationContext.getBean(ScheduledAnnotationBeanPostProcessor.class);
              sch.setEmbeddedValueResolver(resolver);
          } catch (final NoSuchBeanDefinitionException e) {
              LOGGER.warn("Unable to locate [ScheduledAnnotationBeanPostProcessor] as a bean. Support for duration syntax (i.e. PT2S) may not be available");
              LOGGER.trace(e.getMessage(), e);
          }
          return resolver;
      }
docs: Gets string value resolver.
  
  @param applicationContext the application context
  @return the string value resolver