BridgeContext and BridgeContextFactory were introduced in
FACES-201 as part of a coordination effort between Oracle, JBoss, and Liferay for supporting JSF 2.x in a Portlet 2.0 environment. Later on, BridgeContextWrapper was introduced as an extension point in FACES-1269.
BridgeContext was meant to provide an abstraction that could be used by the Bridge's implementation of ExternalContext. However, it was designed as a ThreadLocal singleton similar to FacesContext and introduced unnecessary overhead. Over the years it became evident that a more appropriate extension point would be to decorate the Portlet API with things like BridgePortletRequestFactory, BridgePortletResponseFactory (
FACES-2088), and BridgePortletContextFactory ( FACES-2272).
This issue serves as a task for removing BridgeContext, BridgeContextWrapper, and BridgeContextFactory from the Bridge API.