From f185fd15984194206fa3dd19cd31f26b616b1ba7 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Wed, 12 Oct 2022 18:47:14 +0200 Subject: [PATCH] Deprecate JobRegistryBackgroundJobRunner --- .../core/launch/support/JobRegistryBackgroundJobRunner.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/JobRegistryBackgroundJobRunner.java b/spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/JobRegistryBackgroundJobRunner.java index 882cc7ed8..8189794f5 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/JobRegistryBackgroundJobRunner.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/JobRegistryBackgroundJobRunner.java @@ -1,5 +1,5 @@ /* - * Copyright 2006-2021 the original author or authors. + * Copyright 2006-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -56,8 +56,11 @@ import org.springframework.util.Assert; *

* * @author Dave Syer + * @author Mahmoud Ben Hassine + * @deprecated since 5.0 with no replacement. Scheduled for removal in 5.2. * */ +@Deprecated(since = "5.0", forRemoval = true) public class JobRegistryBackgroundJobRunner { /**