public interface ModuleRepository
| Modifier and Type | Method and Description |
|---|---|
static ModuleRepository |
createModuleRepository(ClassLoader classLoader,
File temporaryFolder)
Creates a ModuleRepository based on the modules available on the provided
classLoader. |
static ModuleRepository |
createModuleRepository(ClassLoader classLoader,
Function<String,File> serviceInterfaceToServiceFile,
BiFunction<String,File,URL> fileToResource)
Creates a ModuleRepository based on the modules available on the provided
classLoader. |
List<MuleModule> |
getModules() |
static ModuleRepository createModuleRepository(ClassLoader classLoader, File temporaryFolder)
classLoader.classLoader - where to look for modules.temporaryFolder - where to write the generated SPI mapping files.ModuleRepository with the discovered information from the current runtime context.static ModuleRepository createModuleRepository(ClassLoader classLoader, Function<String,File> serviceInterfaceToServiceFile, BiFunction<String,File,URL> fileToResource)
classLoader.classLoader - where to look for modules.serviceInterfaceToServiceFile - determines the SPI mapping file for the fully qualified interface service name.fileToResource - obtains a URL from the SPI mapping file and the fully qualified interface
service nameModuleRepository with the discovered information from the current runtime context.List<MuleModule> getModules()
MuleModuleCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.