Package org.jboss.weld.resolution
Class AbstractTypeSafeBeanResolver.BeanDisambiguation
-
- Enclosing class:
- AbstractTypeSafeBeanResolver<T extends javax.enterprise.inject.spi.Bean<?>,C extends Collection<T>>
public class AbstractTypeSafeBeanResolver.BeanDisambiguation extends com.google.common.cache.CacheLoader<Set<javax.enterprise.inject.spi.Bean<?>>,Set<javax.enterprise.inject.spi.Bean<?>>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<javax.enterprise.inject.spi.Bean<?>>load(Set<javax.enterprise.inject.spi.Bean<?>> from)Set<javax.enterprise.inject.spi.Bean<?>>resolveAlternatives(Set<javax.enterprise.inject.spi.Bean<?>> alternatives)If all the beans left are alternatives with a priority, then the container will select the alternative with the highest priority, and the ambiguous dependency is called resolvable.
-
-
-
Method Detail
-
load
public Set<javax.enterprise.inject.spi.Bean<?>> load(Set<javax.enterprise.inject.spi.Bean<?>> from)
-
resolveAlternatives
public Set<javax.enterprise.inject.spi.Bean<?>> resolveAlternatives(Set<javax.enterprise.inject.spi.Bean<?>> alternatives)
If all the beans left are alternatives with a priority, then the container will select the alternative with the highest priority, and the ambiguous dependency is called resolvable.
-
-