@Configuration public class TaskLifecycleConfiguration extends Object
TaskLifecycleListener
.Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
TaskLifecycleConfiguration(TaskProperties taskProperties,
org.springframework.context.ConfigurableApplicationContext context,
TaskRepository taskRepository,
TaskExplorer taskExplorer,
TaskNameResolver taskNameResolver,
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.ApplicationArguments> applicationArguments) |
Modifier and Type | Method and Description |
---|---|
protected void |
initialize()
Initializes the
TaskLifecycleListener for the task app. |
TaskLifecycleListener |
taskLifecycleListener() |
@Autowired public TaskLifecycleConfiguration(TaskProperties taskProperties, org.springframework.context.ConfigurableApplicationContext context, TaskRepository taskRepository, TaskExplorer taskExplorer, TaskNameResolver taskNameResolver, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.ApplicationArguments> applicationArguments)
@Bean public TaskLifecycleListener taskLifecycleListener()
@PostConstruct protected void initialize()
TaskLifecycleListener
for the task app.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.