Interface Registry<T>
-
- Type Parameters:
T- The target object type of this registry
- All Known Implementing Classes:
IterableRegistry
public interface Registry<T>Encapsulates a generic registry of objects.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregister(String name, T object)Registers the specified object with this registryvoidunregister(String name)Unregisters the specified object from this registry
-
-
-
Method Detail
-
register
void register(String name, T object)
Registers the specified object with this registry- Parameters:
name- the object nameobject- the object to register
-
unregister
void unregister(String name)
Unregisters the specified object from this registry- Parameters:
name- the object name
-
-