public class EagerBeansPhaseListener extends DefaultPhaseListener
A PhaseListener that instantiates eager request/view beans by JSF view ID.
This instantiates beans relatively late during request processing but at a point that faces context and the view root corresponding to the current view ID are available to the bean.
| Constructor and Description |
|---|
EagerBeansPhaseListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPhase(PhaseEvent event) |
beforePhase, getPhaseIdpublic void afterPhase(PhaseEvent event)
afterPhase in interface PhaseListenerafterPhase in class DefaultPhaseListenerCopyright © 2012–2020 OmniFaces. All rights reserved.