* from (like classloaders)
*/
protected void initialize(ContentServerPluginManager pluginManager) {
this.pluginManager = pluginManager;
ContentSourceMetadataManagerLocal metadataManager = LookupUtil.getContentSourceMetadataManager();
ContentSourceManagerLocal contentSourceManager = LookupUtil.getContentSourceManager();
// Our plugin manager should have parsed all descriptors and have our
// types for us.
// Let's register the types to make sure they are merged with the old
// existing types.
ContentSourcePluginMetadataManager pluginMetadataManager = this.pluginManager.getMetadataManager();
Set<ContentSourceType> allTypes = pluginMetadataManager.getAllContentSourceTypes();
metadataManager.registerTypes(allTypes);
// now let's instantiate all adapters for all known content sources
createInitialAdaptersMap();
PageControl pc = PageControl.getUnlimitedInstance();