Package com.sun.faces.application.view
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 jsf-ri-config.xml for the actual registration of this listener.
-
Constructor Summary
Constructors Constructor Description ViewScopeEventListener()
-
Method Summary
Modifier and Type Method Description boolean
isListenerForSource(Object source)
Is listener for.void
processEvent(SystemEvent se)
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
-
isListenerForSource
Is listener for.- Specified by:
isListenerForSource
in interfaceSystemEventListener
- Parameters:
source
- the source.- Returns:
- true if UIViewRoot, false otherwise.
-