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

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


    }

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

    public ContentPluginDescriptorType loadPluginDescriptor(String descriptorFile) throws Exception {
        URL descriptorUrl = this.getClass().getClassLoader().getResource(descriptorFile);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.