Which of the following scope, restricts the bean specification to a single instance per Spring IoC container?

18. Which of the following scope, restricts the bean specification to a single instance per Spring IoC container?

  1. Singleton
  2. Prototype
  3. Session
  4. Global-session

Answer: A) Singleton

Explanation:

Singleton scope, restricts the bean specification to a single instance per Spring IoC container.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.