The org.zkoss.zk.ui.util.DesktopCleanup interface
From Documentation
Property:
The org.zkoss.zk.ui.util.DesktopCleanup interface
DesktopCleanup is implemented by a listener class that will be used to cleanup a desktop that is being destroyed.
When ZK Loader is going to destroy a desktop, it invokes the cleanup method of this interface such that developers could plug the application-specific codes to cleanup a desktop.