public class ViewScopeEventListener extends Object implements ViewMapListener
ViewScopeProvider| Constructor and Description |
|---|
ViewScopeEventListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isListenerForSource(Object source)
Returns
true if given source is an instance of UIViewRoot. |
void |
processEvent(SystemEvent event)
If the event is an instance of
PreDestroyViewMapEvent, which means that the JSF view scope is about to
be destroyed, then find the current instance of ViewScopeProvider and invoke its
ViewScopeProvider.preDestroyView() method. |
public boolean isListenerForSource(Object source)
true if given source is an instance of UIViewRoot.isListenerForSource in interface SystemEventListenerpublic void processEvent(SystemEvent event) throws AbortProcessingException
PreDestroyViewMapEvent, which means that the JSF view scope is about to
be destroyed, then find the current instance of ViewScopeProvider and invoke its
ViewScopeProvider.preDestroyView() method.processEvent in interface SystemEventListenerAbortProcessingException