File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -10406,6 +10406,10 @@ You can also use the `MessageSourceAware` interface to acquire a reference to an
10406
10406
`ApplicationContext` that implements the `MessageSourceAware` interface is injected with
10407
10407
the application context's `MessageSource` when the bean is created and configured.
10408
10408
10409
+ NOTE: Because Spring's `MessageSource` is based on Java's `ResourceBundle`, it does not merge
10410
+ bundles with the same base name, but will only use the first bundle found.
10411
+ Subsequent message bundles with the same base name are ignored.
10412
+
10409
10413
NOTE: As an alternative to `ResourceBundleMessageSource`, Spring provides a
10410
10414
`ReloadableResourceBundleMessageSource` class. This variant supports the same bundle
10411
10415
file format but is more flexible than the standard JDK based
You can’t perform that action at this time.
0 commit comments