Class ExternalContextWrapper

java.lang.Object
javax.faces.context.ExternalContext
javax.faces.context.ExternalContextWrapper
All Implemented Interfaces:
FacesWrapper<ExternalContext>

public abstract class ExternalContextWrapper extends ExternalContext implements FacesWrapper<ExternalContext>

Provides a simple implementation of ExternalContext that can be subclassed by developers wishing to provide specialized behavior to an existing ExternalContext instance. The default implementation of all methods is to call through to the wrapped ExternalContext 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