Class MapBinder.RealMapBinder.MapBinderProviderWithDependencies<K,​V>

org.elasticsearch.common.inject.multibindings.MapBinder.RealMapBinder.MapBinderProviderWithDependencies<K,​V>
All Implemented Interfaces:
<K,​<K,​Provider<V>>>
Enclosing class:
MapBinder.RealMapBinder<K,​V>

public static class MapBinder.RealMapBinder.MapBinderProviderWithDependencies<K,​V> extends implements <K,​Provider<V>>>
  • Method Summary

    Modifier and Type
    Method
    Description
    <K,​Provider<V>>
    get()
    Provides an instance of T.
    Returns the known dependencies for this type.
    void
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Method Details

    • initialize

      @Inject public void initialize()
    • get

      public <K,​Provider<V>> get()
      Description copied from interface: Provider
      Provides an instance of T. Must never return null.
      Specified by:
      get in interface Provider<K>
    • getDependencies

      public <Dependency<?>> 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 the Injector will be included in the returned set.
      Specified by:
      getDependencies in interface HasDependencies
      Returns:
      a possibly empty set