File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
spring-context/src/main/java/org/springframework/context/annotation Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 184
184
* <p>The default {@link #factory() factory} supports both traditional and
185
185
* XML-based properties file formats — for example,
186
186
* {@code "classpath:/com/myco/app.properties"} or {@code "file:/path/to/file.xml"}.
187
- * <p>Resource location wildcards (e.g. **/*.properties) are not permitted;
188
- * each location must evaluate to exactly one resource .
189
- * <p>${...} placeholders will be resolved against property sources already
187
+ * <p>As of Spring Framework 6.1, resource location wildcards are also
188
+ * supported — for example, {@code "classpath*:/config/*.properties"} .
189
+ * <p>{@code ${...} } placeholders will be resolved against property sources already
190
190
* registered with the {@code Environment}. See {@linkplain PropertySource above}
191
191
* for examples.
192
192
* <p>Each location will be added to the enclosing {@code Environment} as its own
193
- * property source, and in the order declared.
193
+ * property source, and in the order declared (or in the order in which resource
194
+ * locations are resolved when location wildcards are used).
194
195
*/
195
196
String [] value ();
196
197
You can’t perform that action at this time.
0 commit comments