public final class ModulesXmlLocator extends Object
| Constructor and Description |
|---|
ModulesXmlLocator(String targetSlot)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ModulesDescriptor> |
discover(ClassLoader classLoader,
List<File> rootDirectories)
Discovers all module descriptors on the class path.
|
public ModulesXmlLocator(String targetSlot)
targetSlot - the name of the slot to map modules without slot to.public List<ModulesDescriptor> discover(ClassLoader classLoader, List<File> rootDirectories) throws IOException
classLoader - the class loader whose class path is searched.rootDirectories - additional root directories to check first.IOException - if resources cannot be loaded from the class path.Copyright © 2013–2019 FuseSource. All rights reserved.