public interface ModuleRegistry
Modifier and Type | Method and Description |
---|---|
ModuleDefinition |
findDefinition(java.lang.String name,
ModuleType moduleType)
Lookup a module of the given type with the given name.
|
java.util.List<ModuleDefinition> |
findDefinitions()
Returns all module definitions.
|
java.util.List<ModuleDefinition> |
findDefinitions(ModuleType type)
Searches the registry for the type specified and returns all module definitions that match the type.
|
java.util.List<ModuleDefinition> |
findDefinitions(java.lang.String name)
Searches the registry for the name specified and returns all module definitions that match the name regardless of
module type.
|
ModuleDefinition findDefinition(java.lang.String name, ModuleType moduleType)
null
if this registry does not have such a modulejava.util.List<ModuleDefinition> findDefinitions(java.lang.String name)
name
- The module definition name to be searched.java.util.List<ModuleDefinition> findDefinitions(ModuleType type)
type
- The module type name to be searched.java.util.List<ModuleDefinition> findDefinitions()