Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/350.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Can弹簧&x27;s@Scheduled annotation是否可以与自定义配置提供程序一起使用?_Java_Spring_Cron_Spring Scheduled - Fatal编程技术网

Java Can弹簧&x27;s@Scheduled annotation是否可以与自定义配置提供程序一起使用?

Java Can弹簧&x27;s@Scheduled annotation是否可以与自定义配置提供程序一起使用?,java,spring,cron,spring-scheduled,Java,Spring,Cron,Spring Scheduled,我想使用Spring的@Scheduled注释的cron语法特性。但是,我需要从Spring的PropertyPlaceholder以外的配置提供程序加载cron计划。是否可以使用调度器可以使用的自定义属性提供程序?有趣的是,我来试一试

我想使用Spring的@Scheduled注释的cron语法特性。但是,我需要从Spring的PropertyPlaceholder以外的配置提供程序加载cron计划。是否可以使用调度器可以使用的自定义属性提供程序?

有趣的是,我来试一试