@Singleton public class BetwixtModuleDefinitionReader extends Object implements ModuleDefinitionReader
Constructor and Description |
---|
BetwixtModuleDefinitionReader() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
findModuleDescriptors() |
ModuleDefinition |
read(Reader in) |
Map<String,ModuleDefinition> |
readAll()
Reads all found module definitions.
|
ModuleDefinition |
readFromResource(String resourcePath) |
public Map<String,ModuleDefinition> readAll() throws ModuleManagementException
ModuleDefinitionReader
readAll
in interface ModuleDefinitionReader
ModuleManagementException
protected String[] findModuleDescriptors()
public ModuleDefinition read(Reader in) throws ModuleManagementException
read
in interface ModuleDefinitionReader
ModuleManagementException
public ModuleDefinition readFromResource(String resourcePath) throws ModuleManagementException
readFromResource
in interface ModuleDefinitionReader
ModuleManagementException
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.