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 Type
    Method
    Description
    void
    register(String name, T object)
    Registers the specified object with this registry
    void
    Unregisters the specified object from this registry
  • Method Details

    • register

      void register(String name, T object)
      Registers the specified object with this registry
      Parameters:
      name - the object name
      object - the object to register
    • unregister

      void unregister(String name)
      Unregisters the specified object from this registry
      Parameters:
      name - the object name