|
|||||||||
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 implementation.
Method Summary | |
---|---|
Factory<T> |
getFactory()
Gets the factory which returns instances of T . |
Key<T> |
getKey()
Gets the key for this binding. |
java.lang.Object |
getSource()
Gets the source object, an arbitrary object which points back to the configuration which resulted in this binding. |
boolean |
isConstant()
Is this a constant binding? |
java.lang.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 java.lang.Object getSource()
public Factory<T> getFactory()
T
.
public boolean isConstant()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |