Package jakarta.faces.lifecycle
Class LifecycleWrapper
- java.lang.Object
-
- jakarta.faces.lifecycle.Lifecycle
-
- jakarta.faces.lifecycle.LifecycleWrapper
-
- All Implemented Interfaces:
FacesWrapper<Lifecycle>
public abstract class LifecycleWrapper extends Lifecycle implements FacesWrapper<Lifecycle>
-
-
Constructor Summary
Constructors Constructor Description LifecycleWrapper()Deprecated.LifecycleWrapper(Lifecycle delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPhaseListener(PhaseListener listener)voidattachWindow(FacesContext context)voidexecute(FacesContext context)PhaseListener[]getPhaseListeners()LifecyclegetWrapped()A class that implements this interface uses this method to return an instance of the class being wrapped.voidremovePhaseListener(PhaseListener listener)voidrender(FacesContext context)
-
-
-
Constructor Detail
-
LifecycleWrapper
@Deprecated public LifecycleWrapper()
Deprecated.
-
LifecycleWrapper
public LifecycleWrapper(Lifecycle delegate)
-
-
Method Detail
-
render
public void render(FacesContext context) throws FacesException
- Specified by:
renderin classLifecycle- Throws:
FacesException
-
removePhaseListener
public void removePhaseListener(PhaseListener listener)
- Specified by:
removePhaseListenerin classLifecycle
-
getPhaseListeners
public PhaseListener[] getPhaseListeners()
- Specified by:
getPhaseListenersin classLifecycle
-
execute
public void execute(FacesContext context) throws FacesException
- Specified by:
executein classLifecycle- Throws:
FacesException
-
attachWindow
public void attachWindow(FacesContext context)
- Overrides:
attachWindowin classLifecycle
-
addPhaseListener
public void addPhaseListener(PhaseListener listener)
- Specified by:
addPhaseListenerin classLifecycle
-
getWrapped
public Lifecycle getWrapped()
Description copied from interface:FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.- Specified by:
getWrappedin interfaceFacesWrapper<Lifecycle>- Returns:
- the instance of the class being wrapped
-
-