Class NameBasedResolver


  • public class NameBasedResolver
    extends Object
    Implementation of name based bean resolution
    Author:
    Pete Muir
    • Method Detail

      • clear

        public void clear()
        Reset all cached injection points. You must reset all cached injection points when you add a bean to the manager
      • resolve

        public Set<Bean<?>> resolve​(String name)
        Get the possible beans for the given name
        Parameters:
        name - The name to match
        Returns:
        The set of matching beans
      • toString

        public String toString()
        Gets a string representation
        Overrides:
        toString in class Object
        Returns:
        A string representation