From 581b567864fbf5b8ddc31ca6a8a7910ad184c49c Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Fri, 15 Feb 2019 17:55:45 +0100 Subject: [PATCH] Clarify role of 'aware' callback interfaces --- src/asciidoc/core-beans.adoc | 10 +++++----- src/asciidoc/core-resources.adoc | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/asciidoc/core-beans.adoc b/src/asciidoc/core-beans.adoc index f899f2c74a6..249bb87af12 100644 --- a/src/asciidoc/core-beans.adoc +++ b/src/asciidoc/core-beans.adoc @@ -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 diff --git a/src/asciidoc/core-resources.adoc b/src/asciidoc/core-resources.adoc index 4ba4ce1b947..699e5a48b05 100644 --- a/src/asciidoc/core-resources.adoc +++ b/src/asciidoc/core-resources.adoc @@ -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"]