org.omnifaces.eventlistener
Class DefaultViewEventListener

java.lang.Object
  extended by org.omnifaces.eventlistener.DefaultViewEventListener
All Implemented Interfaces:
java.util.EventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListener

public class DefaultViewEventListener
extends java.lang.Object
implements javax.faces.event.SystemEventListener

Default implementation for the SystemEventListener interface that's used for the subset of system events that are registered as "view event" on the component tree's view root.

Since:
1.2
Author:
Arjan Tijms
See Also:
Events.subscribeToViewEvent(Class, SystemEventListener), UIViewRoot.subscribeToViewEvent(Class, SystemEventListener)

Constructor Summary
DefaultViewEventListener()
           
 
Method Summary
 boolean isListenerForSource(java.lang.Object source)
           
 void processEvent(javax.faces.event.SystemEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultViewEventListener

public DefaultViewEventListener()
Method Detail

processEvent

public void processEvent(javax.faces.event.SystemEvent event)
                  throws javax.faces.event.AbortProcessingException
Specified by:
processEvent in interface javax.faces.event.SystemEventListener
Throws:
javax.faces.event.AbortProcessingException

isListenerForSource

public boolean isListenerForSource(java.lang.Object source)
Specified by:
isListenerForSource in interface javax.faces.event.SystemEventListener