- java.lang.Object
-
- org.omnifaces.eventlistener.DefaultPhaseListener
-
- All Implemented Interfaces:
PhaseListener
,Serializable
,EventListener
- Direct Known Subclasses:
EagerBeansPhaseListener
,FacesRequestLogger
,InvokeActionEventListener
,ResetInputAjaxActionListener
public abstract class DefaultPhaseListener extends Object implements PhaseListener
Default implementation for the PhaseListener interface.- Author:
- Arjan Tijms
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultPhaseListener(PhaseId phaseId)
Construct default phase listener for given phase ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPhase(PhaseEvent event)
void
beforePhase(PhaseEvent event)
PhaseId
getPhaseId()
-
-
-
Constructor Detail
-
DefaultPhaseListener
protected DefaultPhaseListener(PhaseId phaseId)
Construct default phase listener for given phase ID.- Parameters:
phaseId
- Phase ID to create new default phase listener for.
-
-
Method Detail
-
getPhaseId
public PhaseId getPhaseId()
- Specified by:
getPhaseId
in interfacePhaseListener
-
afterPhase
public void afterPhase(PhaseEvent event)
- Specified by:
afterPhase
in interfacePhaseListener
-
beforePhase
public void beforePhase(PhaseEvent event)
- Specified by:
beforePhase
in interfacePhaseListener
-
-