Package org.springframework.web.context.annotation
@NullMarked
package org.springframework.web.context.annotation
Provides convenience annotations for web scopes.
-
ClassDescription
@ApplicationScope
is a specialization of@Scope
for a component whose lifecycle is bound to the current web application.@RequestScope
is a specialization of@Scope
for a component whose lifecycle is bound to the current web request.@SessionScope
is a specialization of@Scope
for a component whose lifecycle is bound to the current web session.