|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.Binding<T>
public class Binding<T>
A binding from a Key
(type and name) to an instance locator.
Method Summary | |
---|---|
Key<T> |
getKey()
Gets the key for this binding. |
Locator<T> |
getLocator()
Gets the locator which returns instances of T . |
Object |
getSource()
Gets the source object, an arbitrary object which points back to the configuration which resulted in this binding. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Key<T> getKey()
public Object getSource()
public Locator<T> getLocator()
T
.
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |