wmsLayerFactory = new WmsLayerFactory(props);
createWmsLayers();
// create a Map of all formatters by their contentType
for (Iterator it = getFormatters().values().iterator(); it.hasNext();) {
ImageFormatter formatter = (ImageFormatter) it.next();
imageFormatterByContentType.put(formatter.getContentType(), formatter);
}
// read from configuration fixed part of Capabilities Document returned
// in getCapabilities method
capabilities = new CapabilitiesSupport(props, wmsScheme, wmsHostName, wmsPort, wmsUrlPath);