Medium
A bean with a session
scope is injected into a bean with a singleton
scope.
What happens when the application starts?
Author: W3D TeamStatus: PublishedQuestion passed 2541 times
Edit
13
Community EvaluationsNo one has reviewed this question yet, be the first!
4
How to create a test class that calls on JUnit 5 and needs the Spring context4
The `@Autowired` annotation is a Spring annotation, accepts a parameter allowing to specify if a dependency is optional4
How does Spring match beans?4
How is PDO implemented in Spring?6
Explain the `session` scope in Spring16
Explain the prototype scope in Spring4
A bean with a singleton scope must be thread safe