Class ViewScopeEventListener

java.lang.Object
com.sun.faces.application.view.ViewScopeEventListener
All Implemented Interfaces:
FacesListener, SystemEventListener, ViewMapListener, EventListener

public class ViewScopeEventListener extends Object implements ViewMapListener
The ViewScope event listener.

To make it so the UIViewRoot.getViewMap is as independent as possible from implementation specific code we need to get notified when a view map is created or destroyed. This ViewMapListener is registered so we get notified of these events.

See MojarraRuntimePopulator for the actual registration of this listener.