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