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<?>>>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader

        com.google.common.cache.CacheLoader.InvalidCacheLoadException, com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException
    • 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.
      • Methods inherited from class com.google.common.cache.CacheLoader

        asyncReloading, from, from, loadAll, reload
    • Method Detail

      • load

        public Set<javax.enterprise.inject.spi.Bean<?>> load​(Set<javax.enterprise.inject.spi.Bean<?>> from)
        Specified by:
        load in class com.google.common.cache.CacheLoader<Set<javax.enterprise.inject.spi.Bean<?>>,​Set<javax.enterprise.inject.spi.Bean<?>>>
      • 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.