this.sitemap = smap;
programGenerator.release((CompiledComponent)oldSitemap);
// add the source factory for the cocoon protocol
this.sourceHandler.addFactory("cocoon",
new CocoonSourceFactory(this.sitemap, this.sitemap.getComponentManager()));
getLogger().debug("Sitemap regeneration complete");
if (this.sitemap != null) {
getLogger().debug("The sitemap has been successfully compiled!");
} else {
getLogger().debug("No errors, but the sitemap has not been set.");