jakarta.mvc
public @Interface RedirectScoped
extends Annotation
- Annotations
- @NormalScope
- passivating:true
- @Inherited
- @Documented
- @Target:TYPE, FIELD, METHOD
- @Retention:RUNTIME
- Imports
- jakarta.enterprise.context.NormalScope, java.lang.annotation.Documented, .ElementType, .Inherited, .Retention, .RetentionPolicy, .Target
An annotation that defines a new Jakarta Contexts and Dependency Injection-based
scope supported by the Jakarta MVC API.
Beans in this scope are automatically created and destroyed by correlating
a redirect and the request that follows. The exact mechanism by which requests
are correlated is implementation dependent, but popular techniques include URL
rewrites and cookies.
- Authors
- Manfred Riem (manfred.riem at oracle.com), Ivar Grimstad