File tree 1 file changed +7
-1
lines changed
spring-context/src/main/java/org/springframework/scheduling/annotation
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2016 the original author or authors.
2
+ * Copyright 2002-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
187
187
* but one demonstration how the code-based approach allows for maximum configurability
188
188
* through direct access to actual componentry.<p>
189
189
*
190
+ * <b>Note: {@code @EnableScheduling} applies to its local application context only,
191
+ * allowing for selective scheduling of beans at different levels.</b> Please redeclare
192
+ * {@code @EnableScheduling} in each individual context, e.g. the common root web
193
+ * application context and any separate {@code DispatcherServlet} application contexts,
194
+ * if you need to apply its behavior at multiple levels.
195
+ *
190
196
* @author Chris Beams
191
197
* @author Juergen Hoeller
192
198
* @since 3.1
You can’t perform that action at this time.
0 commit comments