public RichFacesStrategy(BridgeConfig config) {
super(config);
// Assert richfaces classes.
AjaxContext.class.getName();
lifecycle = new ResourceLifecycle();
xmlFilter = new PortletXMLFilter();
PortletContext portletContext = config.getPortletConfig()
.getPortletContext();
xmlFilter.init(portletContext);
resourceBuilder = InternetResourceBuilder.getInstance();