final class LocatedBeans<Q extends java.lang.annotation.Annotation,T> extends java.lang.Object implements java.lang.Iterable<BeanEntry<Q,T>>
BeanEntrys by iterating over qualified Bindings.BeanLocator.locate(Key)| Modifier and Type | Class and Description |
|---|---|
(package private) class |
LocatedBeans.Itr
BeanEntry iterator that creates new elements from Bindings as required. |
| Modifier and Type | Field and Description |
|---|---|
(package private) BeanCache<Q,T> |
beans |
(package private) RankedBindings<T> |
explicitBindings |
(package private) ImplicitBindings |
implicitBindings |
(package private) com.google.inject.Key<T> |
key |
(package private) QualifyingStrategy |
strategy |
| Constructor and Description |
|---|
LocatedBeans(com.google.inject.Key<T> key,
RankedBindings<T> explicitBindings,
ImplicitBindings implicitBindings) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<BeanEntry<Q,T>> |
iterator() |
final com.google.inject.Key<T> key
final RankedBindings<T> explicitBindings
final ImplicitBindings implicitBindings
final QualifyingStrategy strategy
LocatedBeans(com.google.inject.Key<T> key, RankedBindings<T> explicitBindings, ImplicitBindings implicitBindings)