public class CompositeModuleRegistry extends java.lang.Object implements ModuleRegistry
ModuleRegistry that delegates to several ModuleRegistries, in order.| Constructor and Description |
|---|
CompositeModuleRegistry(ModuleRegistry... delegates) |
| 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.
|
public CompositeModuleRegistry(ModuleRegistry... delegates)
cp - file - public ModuleDefinition lookup(java.lang.String name, java.lang.String type)
ModuleRegistrylookup in interface ModuleRegistrynull if this registry does not have such a modulepublic java.util.List<ModuleDefinition> findDefinitions(java.lang.String name)
ModuleRegistryfindDefinitions in interface ModuleRegistryname - The module definition name to be searched.