What is the default bean area used by Spring Boot?

I can not find this information anywhere. Can someone explain how spring boot 'decides what is the correct scope? Are beans all singleton?

+8
spring boot
source share
2 answers

Spring Boot does not solve anything about the bean scope; it is simple functionality of the Spring frame. The default bean area is a single-point area (this means that there is one instance of this bean in the application).

+10
source share

Here is the official documentation:

http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html#beans-factory-scopes

The default scope for Spring Bean is in single mode.

+4
source share

All Articles