public interface

ProviderKeyBinding

implements Binding<T>
com.google.inject.spi.ProviderKeyBinding<T>

Class Overview

A binding to a provider key. To resolve injections, the provider key is first resolved, then that provider's get method is invoked.

Summary

Public Methods
abstract Key<? extends Provider<? extends T>> getProviderKey()
Returns the key used to resolve the provider's binding.
[Expand]
Inherited Methods
From interface com.google.inject.Binding
From interface com.google.inject.spi.Element

Public Methods

public abstract Key<? extends Provider<? extends T>> getProviderKey ()

Returns the key used to resolve the provider's binding. That binding can be retrieved from an injector using Injector.getBinding(providerKey)