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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isListenerForSource
(Object source) Is listener for.void
Handle the system event.
-
Constructor Details
-
ViewScopeEventListener
public ViewScopeEventListener()
-
-
Method Details
-
processEvent
Handle the system event.- Specified by:
processEvent
in interfaceSystemEventListener
- Parameters:
se
- the system event.- Throws:
AbortProcessingException
- when processing needs to be aborted.
-
isListenerForSource
Is listener for.- Specified by:
isListenerForSource
in interfaceSystemEventListener
- Parameters:
source
- the source.- Returns:
- true if UIViewRoot, false otherwise.
-