Search in sources :

Example 1 with DefaultModuleDefinitionSet

use of com.cloud.spring.module.model.impl.DefaultModuleDefinitionSet in project cosmic by MissionCriticalCloud.

the class ModuleBasedContextFactory method loadModules.

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

Aggregations

ModuleDefinition (com.cloud.spring.module.model.ModuleDefinition)1 DefaultModuleDefinitionSet (com.cloud.spring.module.model.impl.DefaultModuleDefinitionSet)1