Package org.jboss.weld.resolution
Class AbstractTypeSafeBeanResolver.BeanDisambiguation
java.lang.Object
org.jboss.weld.resolution.AbstractTypeSafeBeanResolver.BeanDisambiguation
- All Implemented Interfaces:
Function<Set<jakarta.enterprise.inject.spi.Bean<?>>,Set<jakarta.enterprise.inject.spi.Bean<?>>>
- Enclosing class:
- AbstractTypeSafeBeanResolver<T extends jakarta.enterprise.inject.spi.Bean<?>,
C extends Collection<T>>
-
Method Summary
Modifier and TypeMethodDescriptionSet<jakarta.enterprise.inject.spi.Bean<?>>Set<jakarta.enterprise.inject.spi.Bean<?>>resolveAlternatives(Set<jakarta.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 Details
-
apply
-
resolveAlternatives
public Set<jakarta.enterprise.inject.spi.Bean<?>> resolveAlternatives(Set<jakarta.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.
-