Skip to content

Commit 2171d2f

Browse files
committed
Improve document wording
1 parent 63eb399 commit 2171d2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/spring-cloud-commons/application-context-services.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Any beans that you want to be available to the main application context for auto
9999
There is a special contract for `@Beans` of type `ApplicationContextInitializer`.
100100
If you want to control the startup sequence, you can mark classes with the `@Order` annotation (the default order is `last`).
101101

102-
WARNING: When adding custom `BootstrapConfiguration`, be careful that the classes you add are not `@ComponentScanned` by mistake into your "`main`" application context, where they might not be needed.
102+
WARNING: When adding custom `BootstrapConfiguration`, be careful that the classes you add are not scanned by mistake into your "`main`" application context, where they might not be needed.
103103
Use a separate package name for boot configuration classes and make sure that name is not already covered by your `@ComponentScan` or `@SpringBootApplication` annotated configuration classes.
104104

105105
The bootstrap process ends by injecting initializers into the main `SpringApplication` instance (which is the normal Spring Boot startup sequence, whether it runs as a standalone application or is deployed in an application server).

0 commit comments

Comments
 (0)