Annotation Interface RouteScopeOwner


@Qualifier @Retention(RUNTIME) @Target({TYPE,METHOD,FIELD,PARAMETER}) public @interface RouteScopeOwner
Link a @NormalRouteScoped bean to its owner.

Owner is a router component. A @Route, or a RouterLayout, or a HasErrorParameter.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends com.vaadin.flow.component.HasElement>
    Owner class of the qualified @NormalRouteScoped bean.
  • Element Details

    • value

      Class<? extends com.vaadin.flow.component.HasElement> value
      Owner class of the qualified @NormalRouteScoped bean.

      A @Route, or a RouterLayout, or a HasErrorParameter

      Returns:
      owner class