Annotation Type VaadinSessionScoped


  • @NormalScope
    @Inherited
    @Target({ANNOTATION_TYPE,TYPE,FIELD,METHOD,CONSTRUCTOR})
    @Retention(RUNTIME)
    public @interface VaadinSessionScoped
    The lifecycle of a VaadinSessionScoped bean is bound to a VaadinSession.

    Injecting with this annotation will create a proxy for the contextual instance rather than provide the contextual instance itself.

    Contextual instances stored in VaadinSession, so indirectly stored in HTTP session. PreDestroy called after SessionDestroyEvent fired.

    Since:
    3.0