Uses of Interface
jakarta.faces.event.PhaseListener
Package | Description |
---|---|
com.sun.faces.lifecycle | |
jakarta.faces.component | |
jakarta.faces.lifecycle |
-
Uses of PhaseListener in com.sun.faces.lifecycle
Classes in com.sun.faces.lifecycle that implement PhaseListener Modifier and Type Class Description class
ELResolverInitPhaseListener
This class is used to register the FacesELResolver
stack with the Jakarta Server Pages container.class
HttpMethodRestrictionsPhaseListener
Methods in com.sun.faces.lifecycle that return PhaseListener Modifier and Type Method Description PhaseListener[]
LifecycleImpl. getPhaseListeners()
Methods in com.sun.faces.lifecycle with parameters of type PhaseListener Modifier and Type Method Description void
LifecycleImpl. addPhaseListener(PhaseListener listener)
void
LifecycleImpl. removePhaseListener(PhaseListener listener)
Method parameters in com.sun.faces.lifecycle with type arguments of type PhaseListener Modifier and Type Method Description void
Phase. doPhase(FacesContext context, Lifecycle lifecycle, ListIterator<PhaseListener> listeners)
Performs PhaseListener processing and invokes the execute method of the Phase.void
RestoreViewPhase. doPhase(FacesContext context, Lifecycle lifecycle, ListIterator<PhaseListener> listeners)
protected void
Phase. handleAfterPhase(FacesContext context, ListIterator<PhaseListener> listenersIterator, PhaseEvent event)
HandleafterPhase
PhaseListener
events.protected void
Phase. handleBeforePhase(FacesContext context, ListIterator<PhaseListener> listenersIterator, PhaseEvent event)
HandlebeforePhase
PhaseListener
events. -
Uses of PhaseListener in jakarta.faces.component
Methods in jakarta.faces.component that return types with arguments of type PhaseListener Modifier and Type Method Description List<PhaseListener>
UIViewRoot. getPhaseListeners()
Return an unmodifiable list of thePhaseListener
instances attached to thisUIViewRoot
instance.Methods in jakarta.faces.component with parameters of type PhaseListener Modifier and Type Method Description void
UIViewRoot. addPhaseListener(PhaseListener newPhaseListener)
void
UIViewRoot. removePhaseListener(PhaseListener toRemove)
If the argumenttoRemove
is in the list ofPhaseListener
s for this instance, it must be removed. -
Uses of PhaseListener in jakarta.faces.lifecycle
Methods in jakarta.faces.lifecycle that return PhaseListener Modifier and Type Method Description abstract PhaseListener[]
Lifecycle. getPhaseListeners()
Return the set of registeredPhaseListener
s for thisLifecycle
instance.PhaseListener[]
LifecycleWrapper. getPhaseListeners()
Methods in jakarta.faces.lifecycle with parameters of type PhaseListener Modifier and Type Method Description abstract void
Lifecycle. addPhaseListener(PhaseListener listener)
Register a newPhaseListener
instance that is interested in being notified before and after the processing for standard phases of the request processing lifecycle.void
LifecycleWrapper. addPhaseListener(PhaseListener listener)
abstract void
Lifecycle. removePhaseListener(PhaseListener listener)
Deregister an existingPhaseListener
instance that is no longer interested in being notified before and after the processing for standard phases of the request processing lifecycle.void
LifecycleWrapper. removePhaseListener(PhaseListener listener)