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