Package org.rhq.enterprise.server.plugin.pc.content.metadata

Examples of org.rhq.enterprise.server.plugin.pc.content.metadata.ContentSourcePluginMetadataManager


        }
    }

    protected void registerPlugin(String pathToDescriptor) throws Exception {
        ContentPluginDescriptorType descriptor = loadPluginDescriptor(pathToDescriptor);
        ContentSourcePluginMetadataManager mm = new ContentSourcePluginMetadataManager();
        mm.loadPlugin(descriptor);
        metadataManager.registerTypes(mm.getAllContentSourceTypes());
    }
View Full Code Here


        // 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();
View Full Code Here

    }

    @Override
    public void initialize() throws Exception {
        super.initialize();
        metadataManager = new ContentSourcePluginMetadataManager();
    }
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.plugin.pc.content.metadata.ContentSourcePluginMetadataManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.