-
Notifications
You must be signed in to change notification settings - Fork 22
Module Registry
Immortius edited this page Mar 5, 2015
·
1 revision
The ModuleRegistry is a collection specifically for Modules that provides some specific methods for discovering modules.
TableModuleRegistry is the implementation, built on Guava's Table class.
ModuleRegistry registry = new TableModuleRegistry();
Besides all the standard Collection methods, Module Registry provides:
- Find all versions of a Module by id
registry.getModuleVersions(id);
- Find the latest version of a Module by id
registry.getLatestModuleVersion(id);
- Retrieve a module by id and version
registry.getModule(id, version);
- Retrieve a set of all unique module ids
registry.getModuleIds();