Skip to main content

2 docs tagged with "singleton"

View all tags

Bean Scopes

How Spring's bean scopes — singleton, prototype, request, session, and application — control when beans are created, how many instances exist, and how they interact with each other.

Singleton Pattern

A creational pattern that ensures a class has exactly one instance and provides a global access point to it.