|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Binding<T>
A mapping from a key (type and optional annotation) to a provider of
instances of that type. This interface is part of the Injector
introspection API and is intended primary for use by tools.
| Method Summary | |
|---|---|
Key<T> |
getKey()
Returns the key for this binding. |
Provider<T> |
getProvider()
Returns the provider guice uses to fulfill requests for this binding. |
Object |
getSource()
Returns an arbitrary object containing information about the "place" where this binding was configured. |
| Method Detail |
|---|
Key<T> getKey()
Object getSource()
Provider<T> getProvider()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||