Update so that it can be natively compiled by Spring Native 0.11
This commit is contained in:
@@ -50,7 +50,7 @@ import org.springframework.util.CollectionUtils;
|
||||
* @author Glenn Renfro
|
||||
* @author Michael Minella
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@EnableTransactionManagement
|
||||
@EnableConfigurationProperties({ TaskProperties.class })
|
||||
// @checkstyle:off
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.springframework.integration.support.locks.PassThruLockRegistry;
|
||||
*/
|
||||
|
||||
@Order(Ordered.HIGHEST_PRECEDENCE)
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(prefix = "spring.cloud.task", name = "single-instance-enabled",
|
||||
havingValue = "true")
|
||||
public class SingleTaskConfiguration {
|
||||
|
||||
@@ -40,7 +40,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @author Michael Minella
|
||||
* @since 2.1
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class TaskLifecycleConfiguration {
|
||||
|
||||
protected static final Log logger = LogFactory
|
||||
@@ -67,7 +67,6 @@ public class TaskLifecycleConfiguration {
|
||||
ConfigurableApplicationContext context, TaskRepository taskRepository,
|
||||
TaskExplorer taskExplorer, TaskNameResolver taskNameResolver,
|
||||
ObjectProvider<ApplicationArguments> applicationArguments) {
|
||||
|
||||
this.taskProperties = taskProperties;
|
||||
this.context = context;
|
||||
this.taskRepository = taskRepository;
|
||||
|
||||
Reference in New Issue
Block a user