Interface BeanGroup<K,​V extends BeanInstance<K>>

    • Method Detail

      • addBeanInstance

        void addBeanInstance​(V instance)
        Adds the specified bean instance to this group.
        Parameters:
        instance - a bean instance
      • removeBeanInstance

        V removeBeanInstance​(K id)
        Removes the bean instance with the specified identifier from this group.
        Parameters:
        id - a bean instance identifier
        Returns:
        the removed bean instance, or null, if no such bean instance existed