org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase
Class PhaseListenerExtension
java.lang.Object
org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.PhaseListenerExtension
- All Implemented Interfaces:
- javax.enterprise.inject.spi.Extension
public class PhaseListenerExtension
- extends Object
- implements javax.enterprise.inject.spi.Extension
The PhaseListenerExtension picks up all JsfPhaseListener
annotated
beans for later registration as PhaseListeners.
We have to maintain this separately for each ContextClassLoader since it
is possible that multiple WebApps start up in parallel.
- Author:
- Gerhard Petracek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhaseListenerExtension
public PhaseListenerExtension()
filterJsfPhaseListeners
public void filterJsfPhaseListeners(@Observes
javax.enterprise.inject.spi.ProcessAnnotatedType processAnnotatedType)
consumePhaseListeners
public static List<javax.faces.event.PhaseListener> consumePhaseListeners()
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.