Interface MCRProcessableRegistry

All Known Implementing Classes:
MCRCentralProcessableRegistry

public interface MCRProcessableRegistry
Registry for MCRProcessable and MCRProcessableCollection. Can be used for managing and monitoring purposes.
Author:
Matthias Eichner
  • Method Details

    • getSingleInstance

      static MCRProcessableRegistry getSingleInstance()
      Return the default instance of the processable registry
      Returns:
      the singleton instance
    • register

      void register(MCRProcessableCollection collection)
      Registers a new collection to the registry.
      Parameters:
      collection - the collection to register
    • unregister

      void unregister(MCRProcessableCollection collection)
      Removes a collection from the registry
      Parameters:
      collection - the collection to remove
    • stream

      Streams all the collections of this registry.
      Returns:
      stream of the registry content.
    • addListener

      void addListener(MCRProcessableRegistryListener listener)
      Adds a new listener.
      Parameters:
      listener - the listener to add
    • removeListener

      void removeListener(MCRProcessableRegistryListener listener)
      Removes a listener.
      Parameters:
      listener - the listener to remove