Interface ProviderKeyBinding<T>

All Superinterfaces:
Binding<T>, Element
All Known Implementing Classes:
LinkedProviderBindingImpl

public interface ProviderKeyBinding<T> extends Binding<T>
A binding to a provider key. To resolve injections, the provider key is first resolved, then that provider's get method is invoked.
Since:
2.0
  • Method Details

    • getProviderKey

      Key<? extends Provider<? extends T>> getProviderKey()
      Returns the key used to resolve the provider's binding.