Merge pull request #11313 from izeye:add-configuration

* pr/11313:
  Add @Configuration to ScheduledTasksEndpointAutoConfiguration
pull/11313/merge
Stephane Nicoll 7 years ago
commit ca35105480

@ -25,6 +25,7 @@ import org.springframework.boot.actuate.scheduling.ScheduledTasksEndpoint;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.config.ScheduledTaskHolder; import org.springframework.scheduling.config.ScheduledTaskHolder;
/** /**
@ -33,6 +34,7 @@ import org.springframework.scheduling.config.ScheduledTaskHolder;
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 2.0.0 * @since 2.0.0
*/ */
@Configuration
public class ScheduledTasksEndpointAutoConfiguration { public class ScheduledTasksEndpointAutoConfiguration {
@Bean @Bean

Loading…
Cancel
Save