@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited public @interface PreserveOnRefresh
Whenever a request is received that reloads a preserved UI, the UI's
refresh
method is invoked
by the framework.
By using
UIProvider.isPreservedOnRefresh(com.vaadin.server.UICreateEvent)
, the
decision can also be made dynamically based on other parameters than only
whether this annotation is present on the UI class.
Copyright © 2018 Vaadin Ltd. All rights reserved.