|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Scope(value="vaadin-view")
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
public @interface ViewScope
Stereotype annotation for Spring's @Scope("vaadin-view). The
lifecycle of a bean in this scope starts when a user navigates to a view that
refers to the bean, and ends when the user navigates out of the view (or the
Vaadin UI itself is destroyed). Please note that the
class itself must also be in this scope. In
other words, it is not possible to use view scoped beans inside a
prototype or UI scoped view.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||