@Override
protected void setup(VaadinRequest request) {
final Refresher refresher = new Refresher(this);
refresher.setInterval(1000);
refresher.addRefreshListener(new RefreshListener() {
@Override
public void refresh(RefreshEvent event) {
System.out.println("Got refresh");
}
});