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 Details

    • LifecycleWrapper

      public LifecycleWrapper()
  • Method Details

    • getWrapped

      public abstract jakarta.faces.lifecycle.Lifecycle getWrapped()
      Specified by:
      getWrapped in interface jakarta.faces.FacesWrapper<jakarta.faces.lifecycle.Lifecycle>
    • addPhaseListener

      public void addPhaseListener(jakarta.faces.event.PhaseListener listener)
      Specified by:
      addPhaseListener in class jakarta.faces.lifecycle.Lifecycle
    • execute

      public void execute(jakarta.faces.context.FacesContext context) throws jakarta.faces.FacesException
      Specified by:
      execute in class jakarta.faces.lifecycle.Lifecycle
      Throws:
      jakarta.faces.FacesException
    • getPhaseListeners

      public jakarta.faces.event.PhaseListener[] getPhaseListeners()
      Specified by:
      getPhaseListeners in class jakarta.faces.lifecycle.Lifecycle
    • removePhaseListener

      public void removePhaseListener(jakarta.faces.event.PhaseListener listener)
      Specified by:
      removePhaseListener in class jakarta.faces.lifecycle.Lifecycle
    • render

      public void render(jakarta.faces.context.FacesContext context) throws jakarta.faces.FacesException
      Specified by:
      render in class jakarta.faces.lifecycle.Lifecycle
      Throws:
      jakarta.faces.FacesException