public interface

LinkedKeyBinding

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

Class Overview

A binding to a linked key. The other key's binding is used to resolve injections.

Summary

Public Methods
abstract Key<? extends T> getLinkedKey()
Returns the linked key used to resolve injections.
[Expand]
Inherited Methods
From interface com.google.inject.Binding
From interface com.google.inject.spi.Element

Public Methods

public abstract Key<? extends T> getLinkedKey ()

Returns the linked key used to resolve injections. That binding can be retrieved from an injector using Injector.getBinding(key).