@SessionScope is a specialization of @Scope for a
component whose lifecycle is bound to the current web session.
Specifically, @SessionScope is a composed annotation that
acts as a shortcut for @Scope("session") with the default
proxyMode set to TARGET_CLASS.
@SessionScope may be used as a meta-annotation to create custom
composed annotations.
RequestScope, ApplicationScope, org.springframework.context.annotation.Scope , org.springframework.web.context.WebApplicationContext#SCOPE_SESSION , org.springframework.web.context.request.SessionScope , org.springframework.stereotype.Component , org.springframework.context.annotation.Bean
| Modifier and Type | Method and Description |
|---|---|
| public ScopedProxyMode |
| proxyMode | back to summary |
|---|---|
| public ScopedProxyMode proxyMode() Alias for Defaults to | |