Browse Source

Clarify role of 'aware' callback interfaces

pull/22520/head
Juergen Hoeller 7 years ago
parent
commit
581b567864
  1. 10
      src/asciidoc/core-beans.adoc
  2. 4
      src/asciidoc/core-resources.adoc

10
src/asciidoc/core-beans.adoc

@ -3560,11 +3560,11 @@ init-method. @@ -3560,11 +3560,11 @@ init-method.
[[aware-list]]
=== 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:
Besides `ApplicationContextAware` and `BeanNameAware` discussed above, Spring offers
a 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

4
src/asciidoc/core-resources.adoc

@ -289,8 +289,8 @@ The following table summarizes the strategy for converting ``String``s to ``Reso @@ -289,8 +289,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"]

Loading…
Cancel
Save