Class MapBinder.RealMapBinder.MapBinderProviderWithDependencies<K,V>
- java.lang.Object
-
- org.elasticsearch.common.inject.multibindings.MapBinder.RealMapBinder.MapBinderProviderWithDependencies<K,V>
-
- All Implemented Interfaces:
Provider<java.util.Map<K,Provider<V>>>,HasDependencies,ProviderWithDependencies<java.util.Map<K,Provider<V>>>
- Enclosing class:
- MapBinder.RealMapBinder<K,V>
public static class MapBinder.RealMapBinder.MapBinderProviderWithDependencies<K,V> extends java.lang.Object implements ProviderWithDependencies<java.util.Map<K,Provider<V>>>
-
-
Method Summary
Modifier and Type Method Description java.util.Map<K,Provider<V>>get()Provides an instance ofT.java.util.Set<Dependency<?>>getDependencies()Returns the known dependencies for this type.voidinitialize()
-
-
-
Method Detail
-
initialize
@Inject public void initialize()
-
get
public java.util.Map<K,Provider<V>> get()
Description copied from interface:ProviderProvides an instance ofT. Must never returnnull.
-
getDependencies
public java.util.Set<Dependency<?>> getDependencies()
Description copied from interface:HasDependenciesReturns the known dependencies for this type. If this has dependencies whose values are not known statically, a dependency for theInjectorwill be included in the returned set.- Specified by:
getDependenciesin interfaceHasDependencies- Returns:
- a possibly empty set
-
-