@Component
@ConfigurationProperties(prefix = "task.cron")
public class TaskCronParam implements InitializingBean {
	private String testCron;

	public static String TEST_CRON;

	@Override
	public void afterPropertiesSet() throws Exception {
		TEST_CRON =testCron;
	}
}

相关文章:

  • 2021-05-29
  • 2021-04-28
  • 2022-12-23
  • 2021-04-08
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2021-05-29
  • 2022-01-04
  • 2021-06-11
  • 2022-12-23
相关资源
相似解决方案