From f50a0f97074bf82c147e17f85d5414a4d165d6a8 Mon Sep 17 00:00:00 2001 From: "Michael J. Simons" Date: Tue, 31 Jan 2017 09:08:19 +0100 Subject: [PATCH] Clarify usage of @ImportResource in doc See gh-8143 --- spring-boot-docs/src/main/asciidoc/howto.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 0451c16423..846d41f1ed 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -3235,7 +3235,7 @@ replacing those elements from the `web.xml` as follows: container as if it was a `` and `` in `web.xml`. * A `@Bean` of type `Filter` or `FilterRegistrationBean` behaves similarly (like a `` and ``. -* An `ApplicationContext` in an XML file can be added to an `@Import` in your +* An `ApplicationContext` in an XML file can be added through an `@ImportResource` in your `Application`. Or simple cases where annotation configuration is heavily used already can be recreated in a few lines as `@Bean` definitions.