@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @UIScope @SpringComponent public @interface VaadinPresenter
Presenter-classes that employ a
SpringViewProvider and an EventBus.
This annotation is also a stereotype annotation, so Spring will automatically detect the annotated classes.
This is an example of a presenter that is mapped to a view name:
@VaadinPresenter(viewName = "myView")
public class MyPresenter extends Presenter {
// ...
}
The viewName must match the name attribute of a SpringView annotated View.public abstract String viewName
Copyright © 2016. All rights reserved.