@RequestScope is a specialization of @Scope for a
component whose lifecycle is bound to the current web request.
Specifically, @RequestScope is a composed annotation that
acts as a shortcut for @Scope("request") with the default
proxyMode set to TARGET_CLASS.
@RequestScope may be used as a meta-annotation to create custom
composed annotations.
SessionScope, ApplicationScope, org.springframework.context.annotation.Scope , org.springframework.web.context.WebApplicationContext#SCOPE_REQUEST , org.springframework.web.context.request.RequestScope , 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 | |