Package org.jboss.weld.resolution
Class NameBasedResolver
- java.lang.Object
-
- org.jboss.weld.resolution.NameBasedResolver
-
public class NameBasedResolver extends Object
Implementation of name based bean resolution- Author:
- Pete Muir
-
-
Constructor Summary
Constructors Constructor Description NameBasedResolver(BeanManagerImpl manager, Iterable<? extends Bean<?>> allBeans)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Reset all cached injection points.Set<Bean<?>>
resolve(String name)
Get the possible beans for the given nameString
toString()
Gets a string representation
-
-
-
Constructor Detail
-
NameBasedResolver
public NameBasedResolver(BeanManagerImpl manager, Iterable<? extends Bean<?>> allBeans)
Constructor
-
-
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
-
-