Package com.sun.faces.application.view
Class ViewScopeEventListener
java.lang.Object
com.sun.faces.application.view.ViewScopeEventListener
- All Implemented Interfaces:
FacesListener,SystemEventListener,ViewMapListener,EventListener
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisListenerForSource(Object source) Is listener for.voidHandle the system event.
-
Constructor Details
-
ViewScopeEventListener
public ViewScopeEventListener()
-
-
Method Details
-
processEvent
Handle the system event.- Specified by:
processEventin interfaceSystemEventListener- Parameters:
se- the system event.- Throws:
AbortProcessingException- when processing needs to be aborted.
-
isListenerForSource
Is listener for.- Specified by:
isListenerForSourcein interfaceSystemEventListener- Parameters:
source- the source.- Returns:
- true if UIViewRoot, false otherwise.
-