com.google.inject.spi.LinkedKeyBinding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guice Show documentation
Show all versions of guice Show documentation
Guice implementation with named modules for Java 11+
package com.google.inject.spi;
import com.google.inject.Binding;
import com.google.inject.Key;
/**
* A binding to a linked key. The other key's binding is used to resolve injections.
*/
public interface LinkedKeyBinding extends Binding {
/**
* Returns the linked key used to resolve injections. That binding can be retrieved from an
* injector using {@link com.google.inject.Injector#getBinding(Key) Injector.getBinding(key)}.
*/
Key getLinkedKey();
}