Skip to content

Commit 581b567

Browse files
committed
Clarify role of 'aware' callback interfaces
1 parent 109eaf3 commit 581b567

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/asciidoc/core-beans.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3560,11 +3560,11 @@ init-method.
35603560
[[aware-list]]
35613561
=== Other Aware interfaces
35623562

3563-
Besides `ApplicationContextAware` and `BeanNameAware` discussed above, Spring offers a
3564-
range of `Aware` interfaces that allow beans to indicate to the container that they
3565-
require a certain __infrastructure__ dependency. The most important `Aware` interfaces
3566-
are summarized below - as a general rule, the name is a good indication of the
3567-
dependency type:
3563+
Besides `ApplicationContextAware` and `BeanNameAware` discussed above, Spring offers
3564+
a range of `Aware` callback interfaces that allow beans to indicate to the container
3565+
that they require a certain __infrastructure__ dependency. The most important `Aware`
3566+
interfaces are summarized below - as a general rule, the name is a good indication of
3567+
the dependency type:
35683568

35693569
[[beans-factory-nature-aware-list]]
35703570
.Aware interfaces

src/asciidoc/core-resources.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ The following table summarizes the strategy for converting ``String``s to ``Reso
289289
[[resources-resourceloaderaware]]
290290
== The ResourceLoaderAware interface
291291

292-
The `ResourceLoaderAware` interface is a special marker interface, identifying objects
293-
that expect to be provided with a `ResourceLoader` reference.
292+
The `ResourceLoaderAware` interface is a special callback interface which identifies
293+
components that expect to be provided with a `ResourceLoader` reference:
294294

295295
[source,java,indent=0]
296296
[subs="verbatim,quotes"]

0 commit comments

Comments
 (0)