mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-05-03 04:19:47 +01:00
Clarify role of 'aware' callback interfaces
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user