public class AjaxOutputTracker extends Object implements javax.faces.event.SystemEventListener
AjaxOutput components in the component tree and that can retrieve tracked AjaxOutputs
in O(n) where "n" is depth of the tree.
The O(n) is ensured by tracking nested AjaxOutput in each NamingContainer component on a way from the
UIViewRoot to the given component.| Constructor and Description |
|---|
AjaxOutputTracker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isListenerForSource(Object source)
Tracks just
AjaxOutput components |
void |
processEvent(javax.faces.event.SystemEvent event)
Tracks additions (resp.
|
public void processEvent(javax.faces.event.SystemEvent event)
throws javax.faces.event.AbortProcessingException
AjaxOutput to (resp. from) a component tree on PostAddToViewEvent
(resp. PreRemoveFromViewEvent)processEvent in interface javax.faces.event.SystemEventListenerjavax.faces.event.AbortProcessingExceptionpublic boolean isListenerForSource(Object source)
AjaxOutput componentsisListenerForSource in interface javax.faces.event.SystemEventListenerCopyright © 2014 JBoss by Red Hat. All Rights Reserved.