public BridgePhaseBaseImpl(PortletConfig portletConfig) {
this.portletConfig = portletConfig;
this.portletContext = portletConfig.getPortletContext();
this.portletName = portletConfig.getPortletName();
BridgeConfigFactory bridgeConfigFactory = (BridgeConfigFactory) FactoryExtensionFinder.getFactory(
BridgeConfigFactory.class);
this.bridgeConfig = bridgeConfigFactory.getBridgeConfig(portletConfig);
// Initialize the incongruity context implementation.
IncongruityContextFactory incongruityContextFactory = (IncongruityContextFactory) FactoryExtensionFinder
.getFactory(IncongruityContextFactory.class);
this.incongruityContext = incongruityContextFactory.getIncongruityContext();