Package com.vaadin.cdi.annotation
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 aVaadinSession.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.PreDestroycalled afterSessionDestroyEventfired.- Since:
- 3.0