Clarify role of 'aware' callback interfaces

This commit is contained in:
Juergen Hoeller
2019-02-15 17:41:50 +01:00
parent 7a205ccf03
commit 77b5a6de37
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -3536,10 +3536,10 @@ init-method.
=== Other Aware interfaces
Besides `ApplicationContextAware` and `BeanNameAware` discussed above, Spring offers a
range of `Aware` interfaces that allow beans to indicate to the container that they
require a certain __infrastructure__ dependency. The most important `Aware` interfaces
are summarized below - as a general rule, the name is a good indication of the
dependency type:
wide range of `Aware` callback interfaces that allow beans to indicate to the container
that they require a certain __infrastructure__ dependency. The most important `Aware`
interfaces are summarized below - as a general rule, the name is a good indication of
the dependency type:
[[beans-factory-nature-aware-list]]
.Aware interfaces
+2 -2
View File
@@ -288,8 +288,8 @@ The following table summarizes the strategy for converting ``String``s to ``Reso
[[resources-resourceloaderaware]]
== The ResourceLoaderAware interface
The `ResourceLoaderAware` interface is a special marker interface, identifying objects
that expect to be provided with a `ResourceLoader` reference.
The `ResourceLoaderAware` interface is a special callback interface which identifies
components that expect to be provided with a `ResourceLoader` reference:
[source,java,indent=0]
[subs="verbatim,quotes"]