Class LifecycleWrapper
java.lang.Object
jakarta.faces.lifecycle.Lifecycle
org.springframework.faces.support.LifecycleWrapper
- All Implemented Interfaces:
jakarta.faces.FacesWrapper<jakarta.faces.lifecycle.Lifecycle>
- Direct Known Subclasses:
FlowLifecycle
public abstract class LifecycleWrapper
extends jakarta.faces.lifecycle.Lifecycle
implements jakarta.faces.FacesWrapper<jakarta.faces.lifecycle.Lifecycle>
Provides a simple implementation of
Lifecycle
that can be subclassed by developers wishing to provide
specialized behavior to an existing instance
. The default implementation of all methods is to call
through to the wrapped Lifecycle
.- Since:
- 2.4
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPhaseListener
(jakarta.faces.event.PhaseListener listener) void
execute
(jakarta.faces.context.FacesContext context) jakarta.faces.event.PhaseListener[]
abstract jakarta.faces.lifecycle.Lifecycle
void
removePhaseListener
(jakarta.faces.event.PhaseListener listener) void
render
(jakarta.faces.context.FacesContext context) Methods inherited from class jakarta.faces.lifecycle.Lifecycle
attachWindow
-
Constructor Details
-
LifecycleWrapper
public LifecycleWrapper()
-
-
Method Details
-
getWrapped
public abstract jakarta.faces.lifecycle.Lifecycle getWrapped()- Specified by:
getWrapped
in interfacejakarta.faces.FacesWrapper<jakarta.faces.lifecycle.Lifecycle>
-
addPhaseListener
public void addPhaseListener(jakarta.faces.event.PhaseListener listener) - Specified by:
addPhaseListener
in classjakarta.faces.lifecycle.Lifecycle
-
execute
public void execute(jakarta.faces.context.FacesContext context) throws jakarta.faces.FacesException - Specified by:
execute
in classjakarta.faces.lifecycle.Lifecycle
- Throws:
jakarta.faces.FacesException
-
getPhaseListeners
public jakarta.faces.event.PhaseListener[] getPhaseListeners()- Specified by:
getPhaseListeners
in classjakarta.faces.lifecycle.Lifecycle
-
removePhaseListener
public void removePhaseListener(jakarta.faces.event.PhaseListener listener) - Specified by:
removePhaseListener
in classjakarta.faces.lifecycle.Lifecycle
-
render
public void render(jakarta.faces.context.FacesContext context) throws jakarta.faces.FacesException - Specified by:
render
in classjakarta.faces.lifecycle.Lifecycle
- Throws:
jakarta.faces.FacesException
-