Search in sources :

Example 1 with DefaultModuleDefinitionSet

use of org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet in project cloudstack by apache.

the class ModuleBasedContextFactory method loadModules.

public ModuleDefinitionSet loadModules(Collection<ModuleDefinition> defs, String root) throws IOException {
    Map<String, ModuleDefinition> modules = wireUpModules(root, defs);
    DefaultModuleDefinitionSet moduleSet = new DefaultModuleDefinitionSet(modules, root);
    moduleSet.load();
    return moduleSet;
}
Also used : ModuleDefinition(org.apache.cloudstack.spring.module.model.ModuleDefinition) DefaultModuleDefinitionSet(org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet)

Aggregations

ModuleDefinition (org.apache.cloudstack.spring.module.model.ModuleDefinition)1 DefaultModuleDefinitionSet (org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet)1