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
Modifier and TypeMethodDescriptionvoidRegisters the specified object with this registryvoidunregister(String name) Unregisters the specified object from this registry
-
Method Details
-
register
Registers the specified object with this registry- Parameters:
name- the object nameobject- the object to register
-
unregister
Unregisters the specified object from this registry- Parameters:
name- the object name
-