WMSLayer retLayer = new WMSLayer(layerName, wmsURL, wmsStyles, wmsLayers, mimeFormats,
subSets, parameterFilters, metaFactors, vendorParams, queryable);
retLayer.setBackendTimeout(120);
retLayer.setSourceHelper(new WMSGeoServerHelper(this.gsDispatcher));
retLayer.initialize(gridSetBroker);
layers.put(layerName, retLayer);
return retLayer;