From 77b5a6de375ad21e47c92a7cc7ed25f543c395fa Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Fri, 15 Feb 2019 17:41:50 +0100 Subject: [PATCH] Clarify role of 'aware' callback interfaces --- src/docs/asciidoc/core/core-beans.adoc | 8 ++++---- src/docs/asciidoc/core/core-resources.adoc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/docs/asciidoc/core/core-beans.adoc b/src/docs/asciidoc/core/core-beans.adoc index e21c98f8e7..d8e99477bb 100644 --- a/src/docs/asciidoc/core/core-beans.adoc +++ b/src/docs/asciidoc/core/core-beans.adoc @@ -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 diff --git a/src/docs/asciidoc/core/core-resources.adoc b/src/docs/asciidoc/core/core-resources.adoc index fb464937c2..4e3b6b3f74 100644 --- a/src/docs/asciidoc/core/core-resources.adoc +++ b/src/docs/asciidoc/core/core-resources.adoc @@ -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"]