public interface CustomModuleRegistrationService
ModuleRegistrar
.
This service will get called every time the registration runs, other than regular registrars which only run when their own source design is updated.Modifier and Type | Method and Description |
---|---|
void |
searchModuleDefinitions(ModuleRegistry registry,
java.lang.ClassLoader classLoader)
Searches modules from the given class loader
Used when the module registry is searched completely.
|
void |
searchModuleDefinitions(ModuleRegistry registry,
java.lang.ClassLoader classLoader,
java.lang.Iterable<java.net.URLClassLoader> registrarCfgLoaders)
Searches custom registrar configurations from registrarCfgLoaders and loads classes from classLoader
Used when the class loaders of certain module providers are updated.
|
void searchModuleDefinitions(ModuleRegistry registry, java.lang.ClassLoader classLoader) throws java.io.IOException
classLoader
- The class loader to search registrars and modules fromjava.io.IOException
void searchModuleDefinitions(ModuleRegistry registry, java.lang.ClassLoader classLoader, java.lang.Iterable<java.net.URLClassLoader> registrarCfgLoaders) throws java.io.IOException
classLoader
- The class loader to load module classes fromregistrarCfgLoaders
- The class loaders to load custom registrar configurations fromjava.io.IOException