Области видимости бинов: Singleton, Prototype и другие
🔒 Sign in to use this
Области видимости бинов: Singleton, Prototype и другие
Область видимости бина определяет, сколько экземпляров создаёт Spring и как долго они живут. По умолчанию — и наиболее распространённая — область singleton: один экземпляр на ApplicationContext. Другие области служат конкретным нуждам: prototype для объектов с состоянием на одно использование, request/session для веб-приложений.
Content is available with subscription.
Get full access to all courses on the platform for one year with a single payment.
▼
▼
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.
🔒 Sign in to use this