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();