Package org.apache.geronimo.kernel.config

Examples of org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration()


        Collection<ConfigurationStore> repositoryStores = Collections.<ConfigurationStore>singleton(repositoryStore);
        SimpleConfigurationManager manager = new SimpleConfigurationManager(repositoryStores, artifactResolver, repositories);
       
        Artifact id = Artifact.create(CONFIG_ID);
        id = artifactResolver.queryArtifact(id);
        manager.loadConfiguration(id);
       
        Configuration config = manager.getConfiguration(id);
               
        // set context classloader
        ClassLoader classLoader = config.getConfigurationClassLoader();
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.