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 MojarraRuntimePopulator for the actual registration of this listener.
-
-
Constructor Summary
Constructors Constructor Description ViewScopeEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisListenerForSource(Object source)Is listener for.voidprocessEvent(SystemEvent se)Handle the system event.
-
-
-
Method Detail
-
processEvent
public void processEvent(SystemEvent se) throws AbortProcessingException
Handle the system event.- Specified by:
processEventin interfaceSystemEventListener- Parameters:
se- the system event.- Throws:
AbortProcessingException- when processing needs to be aborted.
-
isListenerForSource
public boolean isListenerForSource(Object source)
Is listener for.- Specified by:
isListenerForSourcein interfaceSystemEventListener- Parameters:
source- the source.- Returns:
- true if UIViewRoot, false otherwise.
-
-