Files
Spring/2023-03/spring-06-bean-scopes-and-lifecycle/beans-scopes-solution/README.md
T

346 B

Решение к упражнению №1

@Scope("singleton")
SingletonGreetingServiceImpl

@Scope("prototype")
PrototypeGreetingServiceImpl

@Scope(value = "request", proxyMode = ScopedProxyMode.INTERFACES) RequestGreetingServiceImpl

@Scope(value = "session", proxyMode = ScopedProxyMode.INTERFACES) SessionGreetingServiceImpl