org.jboss.seam.faces.event
Class SystemEventBridge

java.lang.Object
  extended by org.jboss.seam.faces.event.SystemEventBridge
All Implemented Interfaces:
EventListener, FacesListener, SystemEventListener

public class SystemEventBridge
extends Object
implements SystemEventListener

A SystemEventListener used to bridge JSF system events to the CDI event model.

For each JSF system event (e.g: PostConstructApplicationEvent, a corresponding Seam CDI event will be fired.

Event listeners can be registered by observing the appropriate Seam CDI event (see @Observes):

For example:

public void listener(@Observes org.jboss.seam.faces.event.qualifier.ExceptionQueuedEvent event) { //do something }

Author:
Nicklas Karlsson

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

Constructor Detail

SystemEventBridge

public SystemEventBridge()
Method Detail

isListenerForSource

public boolean isListenerForSource(Object source)
Specified by:
isListenerForSource in interface SystemEventListener

processEvent

public void processEvent(SystemEvent e)
                  throws AbortProcessingException
Specified by:
processEvent in interface SystemEventListener
Throws:
AbortProcessingException


Copyright © 2009-2011 Seam Framework. All Rights Reserved.