Package io.goobi.viewer.managedbeans
Class ViewWatcher
java.lang.Object
io.goobi.viewer.managedbeans.ViewWatcher
- All Implemented Interfaces:
Serializable
View scoped bean to detect leaving a view and perform some action. The action may take no arguments and procudes not outcome
- Author:
- florian
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Method invoked when leaving the page.void
onLeavePage
(Procedure onLeavePage) Pass aProcedure
which is to be invoced when leaving the page, more specificall on @PreDestroy of this bean
-
Constructor Details
-
ViewWatcher
public ViewWatcher()
-
-
Method Details