public class PhaseListenerExtension extends Object implements javax.enterprise.inject.spi.Extension
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.Constructor and Description |
---|
PhaseListenerExtension() |
Modifier and Type | Method and Description |
---|---|
static List<javax.faces.event.PhaseListener> |
consumePhaseListeners()
Exposes the found phase-listeners for the invocation.
|
void |
filterJsfPhaseListeners(javax.enterprise.inject.spi.ProcessAnnotatedType processAnnotatedType)
Filters beans annotated with
JsfPhaseListener . |
public void filterJsfPhaseListeners(@Observes javax.enterprise.inject.spi.ProcessAnnotatedType processAnnotatedType)
JsfPhaseListener
.
The class will be stored for consuming it later (see #consumePhaseListeners)processAnnotatedType
- current process-annotated-typepublic static List<javax.faces.event.PhaseListener> consumePhaseListeners()
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.