Class MamaSourceGroupManager


  • public class MamaSourceGroupManager
    extends java.lang.Object
    • Constructor Detail

      • MamaSourceGroupManager

        public MamaSourceGroupManager()
    • Method Detail

      • findOrCreateSourceGroup

        public MamaSourceGroup findOrCreateSourceGroup​(java.lang.String key)
        Locates an existing MamaSourceGroup for a given name. If none exists, create a new one and add it to the group manager.
        Parameters:
        key - The key identifier for the MamaSourceGroup
        Returns:
        MamaSourceGroup
      • findSourceGroup

        public MamaSourceGroup findSourceGroup​(java.lang.String key)
        Locates an existing MamaSourceGroup in the specified MamaSourceGroupManager with the specified key identifier. The value of the sourceGroup will be set to NULL, if no source was found.
        Parameters:
        key - The key identifier for the required MamaSourceGroup
        Returns:
        MamaSourceGroup
      • addSourceGroup

        public void addSourceGroup​(MamaSourceGroup sourceGroup)
        Add an existing MamaSourceGroup to the MamaSourceGroupManager. The name of the source group manager will be used to uniquely identify the source group within the manager.
        Parameters:
        sourceGroup - - The mama source group being specified.
      • sourceGroupIterator

        public java.util.Iterator sourceGroupIterator()
      • destroy

        public void destroy()