Skip to content

Commit d6197b7

Browse files
committed
clarified double role of id property
1 parent d54cf0c commit d6197b7

File tree

1 file changed

+4
-1
lines changed
  • org.springframework.context/src/main/resources/org/springframework/scheduling/config

1 file changed

+4
-1
lines changed

org.springframework.context/src/main/resources/org/springframework/scheduling/config/spring-task-3.0.xsd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@
8484
<xsd:annotation>
8585
<xsd:documentation><![CDATA[
8686
The bean name for the generated ThreadPoolTaskExecutor instance.
87-
It will also be used as the default thread name prefix.
87+
This value will also be used as the thread name prefix which is why it is
88+
required even when defining the executor as an inner bean: The executor
89+
won't be directly accessible then but will nevertheless use the specified
90+
id as the thread name prefix of the threads that it manages.
8891
]]></xsd:documentation>
8992
</xsd:annotation>
9093
</xsd:attribute>

0 commit comments

Comments
 (0)