com.vaadin.spring.annotation
Annotation Type SpringViewDisplay


@Scope(value="vaadin-ui")
@Retention(value=RUNTIME)
@Target(value={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



Copyright © 2016 Vaadin Ltd. All Rights Reserved.