在spring中动态地为@scheduled注释提供参数

时间:2015-06-12 07:44:35

标签: spring

我在stackoverflow上提到了一些例子。但它给了我异常:


Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalArgumentException  at
java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:562)

我遵循的示例: - How to parameterize @Scheduled(fixedDelay) with Spring 3.0 expression language?

0 个答案:

没有答案