public interface ModuleRegistry
Modifier and Type | Method and Description |
---|---|
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 |
lookup(java.lang.String name,
java.lang.String type)
Lookup a module of the given type with the given name.
|
ModuleDefinition lookup(java.lang.String name, java.lang.String type)
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.