Package jakarta.mvc

Annotation Type RedirectScoped


  • @NormalScope(passivating=true)
    @Inherited
    @Documented
    @Target({TYPE,FIELD,METHOD})
    @Retention(RUNTIME)
    public @interface RedirectScoped
    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.
    Author:
    Manfred Riem (manfred.riem at oracle.com), Ivar Grimstad