Package com.vaadin.spring.annotation
Annotation Interface SpringViewDisplay
@Scope("vaadin-ui")
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Documented
@SpringComponent
public @interface SpringViewDisplay
Stereotype annotation for a bean (implementing either
ViewDisplay,
SingleComponentContainer or ComponentContainer) that should
act as a view display for Vaadin Navigator.
There should only be one bean annotated as the view display in the scope of
a UI. If a view display bean implements multiple interfaces, it is
primarily treated as a ViewDisplay if possible.
This annotation can be used either on a class or on a bean factory method.
- Author:
- Vaadin Ltd