public class DefaultModuleCreatorRegistry extends Object implements ModuleCreatorRegistry
| Constructor and Description |
|---|
DefaultModuleCreatorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCreator(ModuleCreator creator)
Add a creator to the registry.
|
void |
addCreators(List<ModuleCreator> creators)
Add a list of creators.
|
ModuleCreator |
getCreatorById(String id)
Get a creator given its id.
|
List<ModuleCreator> |
getCreators()
Get the list of creators.
|
void |
removeAll()
Remove all registered creators from the registry.
|
public List<ModuleCreator> getCreators()
getCreators in interface ModuleCreatorRegistrypublic ModuleCreator getCreatorById(String id)
getCreatorById in interface ModuleCreatorRegistryid - the id of the creatorpublic void addCreators(List<ModuleCreator> creators)
addCreators in interface ModuleCreatorRegistrycreators - the creators to addpublic void addCreator(ModuleCreator creator)
addCreator in interface ModuleCreatorRegistrycreator - the creator to addpublic void removeAll()
removeAll in interface ModuleCreatorRegistryCopyright © 2013. All Rights Reserved.