public interface

ProviderBinding

implements Binding<T>
com.google.inject.spi.ProviderBinding<T extends com.google.inject.Provider<?>>

Class Overview

A binding to a Provider that delegates to the binding for the provided type. This binding is used whenever a Provider<T> is injected (as opposed to injecting T directly).

Summary

Public Methods
abstract Key<?> getProvidedKey()
Returns the key whose binding is used to provide instances.
[Expand]
Inherited Methods
From interface com.google.inject.Binding
From interface com.google.inject.spi.Element

Public Methods

public abstract Key<?> getProvidedKey ()

Returns the key whose binding is used to provide instances. That binding can be retrieved from an injector using Injector.getBinding(providedKey)