Annotation Interface RouteScopeOwner
@Qualifier
@Retention(RUNTIME)
@Target({TYPE,METHOD,FIELD,PARAMETER})
public @interface RouteScopeOwner
Link a
@RouteScope
bean to its owner.
Owner is a router component. A @Route
, or a
RouterLayout
, or a HasErrorParameter
.
- Since:
- Author:
- Vaadin Ltd
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends HasElement>
Owner class of the qualified@RouteScope
bean.
-
Element Details
-
value
Class<? extends HasElement> valueOwner class of the qualified@RouteScope
bean.A
@Route
, or aRouterLayout
, or aHasErrorParameter
- Returns:
- owner class
-