Class FacesContextWrapper

java.lang.Object
jakarta.faces.context.FacesContext
jakarta.faces.context.FacesContextWrapper
All Implemented Interfaces:
FacesWrapper<FacesContext>

public abstract class FacesContextWrapper extends FacesContext implements FacesWrapper<FacesContext>

Provides a simple implementation of FacesContext that can be subclassed by developers wishing to provide specialized behavior to an existing FacesContext instance. The default implementation of all methods is to call through to the wrapped FacesContext instance.

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped() to access the instance being wrapped.

Since:
2.0