Class HintedPlexusBeans<T>

  • All Implemented Interfaces:
    java.lang.Iterable<PlexusBean<T>>

    final class HintedPlexusBeans<T>
    extends java.lang.Object
    implements java.lang.Iterable<PlexusBean<T>>
    Hint-driven sequence of PlexusBeans that uses MissingPlexusBeans to indicate missing hints.
    • Constructor Summary

      Constructors 
      Constructor Description
      HintedPlexusBeans​(java.lang.Iterable<BeanEntry<com.google.inject.name.Named,​T>> beans, com.google.inject.TypeLiteral<T> role, java.lang.String[] hints)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<PlexusBean<T>> iterator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • beans

        private final java.lang.Iterable<BeanEntry<com.google.inject.name.Named,​T>> beans
      • missingPlexusBeans

        private final java.util.List<PlexusBean<T>> missingPlexusBeans
    • Constructor Detail

      • HintedPlexusBeans

        HintedPlexusBeans​(java.lang.Iterable<BeanEntry<com.google.inject.name.Named,​T>> beans,
                          com.google.inject.TypeLiteral<T> role,
                          java.lang.String[] hints)
    • Method Detail

      • iterator

        public java.util.Iterator<PlexusBean<T>> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<T>