mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Clarify usage of @ImportResource in doc
See gh-8143
This commit is contained in:
parent
3e4ed59fdf
commit
f50a0f9707
@ -3235,7 +3235,7 @@ replacing those elements from the `web.xml` as follows:
|
||||
container as if it was a `<servlet/>` and `<servlet-mapping/>` in `web.xml`.
|
||||
* A `@Bean` of type `Filter` or `FilterRegistrationBean` behaves similarly (like a
|
||||
`<filter/>` and `<filter-mapping/>`.
|
||||
* 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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user