mirror of
https://github.com/OtusTeam/Spring.git
synced 2026-05-30 10:50:42 +00:00
346 B
346 B
Решение к упражнению №1
@Scope("singleton")
SingletonGreetingServiceImpl
@Scope("prototype")
PrototypeGreetingServiceImpl
@Scope(value = "request", proxyMode = ScopedProxyMode.INTERFACES) RequestGreetingServiceImpl
@Scope(value = "session", proxyMode = ScopedProxyMode.INTERFACES) SessionGreetingServiceImpl