- java.lang.Object
-
- org.omnifaces.eventlistener.DefaultPhaseListener
-
- org.omnifaces.cdi.eager.EagerBeansPhaseListener
-
- All Implemented Interfaces:
PhaseListener
,Serializable
,EventListener
public class EagerBeansPhaseListener extends DefaultPhaseListener
A PhaseListener that instantiates eager request/view beans by Faces 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.
- Since:
- 1.8
- Author:
- Arjan Tijms
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EagerBeansPhaseListener()
Construct eager beans phase listener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPhase(PhaseEvent event)
-
Methods inherited from class org.omnifaces.eventlistener.DefaultPhaseListener
beforePhase, getPhaseId
-
-
-
-
Method Detail
-
afterPhase
public void afterPhase(PhaseEvent event)
- Specified by:
afterPhase
in interfacePhaseListener
- Overrides:
afterPhase
in classDefaultPhaseListener
-
-