org.apache.myfaces.extensions.cdi.jsf2.impl.listener.system
Class CodiJsf2SystemEventListener

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.jsf2.impl.listener.system.CodiJsf2SystemEventListener
All Implemented Interfaces:
EventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListener, Deactivatable

public class CodiJsf2SystemEventListener
extends Object
implements javax.faces.event.SystemEventListener, Deactivatable

Author:
Gerhard Petracek

Constructor Summary
CodiJsf2SystemEventListener()
          Constructor which checks the activation of the listener
 
Method Summary
 boolean isActivated()
          
 boolean isListenerForSource(Object source)
          
 void processEvent(javax.faces.event.SystemEvent systemEvent)
          Broadcasts PostConstructApplicationEvent and PreDestroyApplicationEvent for CDI observers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodiJsf2SystemEventListener

public CodiJsf2SystemEventListener()
Constructor which checks the activation of the listener

Method Detail

isListenerForSource

public boolean isListenerForSource(Object source)

Specified by:
isListenerForSource in interface javax.faces.event.SystemEventListener

processEvent

public void processEvent(javax.faces.event.SystemEvent systemEvent)
Broadcasts PostConstructApplicationEvent and PreDestroyApplicationEvent for CDI observers.

Specified by:
processEvent in interface javax.faces.event.SystemEventListener

isActivated

public boolean isActivated()

Specified by:
isActivated in interface Deactivatable


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.