diff --git a/spring-context/src/main/java/org/springframework/scheduling/concurrent/ExecutorConfigurationSupport.java b/spring-context/src/main/java/org/springframework/scheduling/concurrent/ExecutorConfigurationSupport.java index 559890ef5096..91ef6b62ff12 100644 --- a/spring-context/src/main/java/org/springframework/scheduling/concurrent/ExecutorConfigurationSupport.java +++ b/spring-context/src/main/java/org/springframework/scheduling/concurrent/ExecutorConfigurationSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2021 the original author or authors. + * Copyright 2002-2023 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. @@ -36,7 +36,10 @@ * Base class for setting up a {@link java.util.concurrent.ExecutorService} * (typically a {@link java.util.concurrent.ThreadPoolExecutor} or * {@link java.util.concurrent.ScheduledThreadPoolExecutor}). - * Defines common configuration settings and common lifecycle handling. + * + *
Defines common configuration settings and common lifecycle handling, + * inheriting thread customization options (name, priority, etc) from + * {@link org.springframework.util.CustomizableThreadCreator}. * * @author Juergen Hoeller * @since 3.0 @@ -199,8 +202,7 @@ protected abstract ExecutorService initializeExecutor( /** - * Calls {@code shutdown} when the BeanFactory destroys - * the task executor instance. + * Calls {@code shutdown} when the BeanFactory destroys the executor instance. * @see #shutdown() */ @Override