|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.internal.ProviderMethod<T>
public class ProviderMethod<T>
A provider that invokes a method and returns its result.
Method Summary | |
---|---|
void |
configure(Binder binder)
|
boolean |
equals(Object obj)
|
T |
get()
Provides an instance of T . |
Set<Dependency<?>> |
getDependencies()
Returns the known dependencies for this type. |
Object |
getInstance()
|
Key<T> |
getKey()
|
Method |
getMethod()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Key<T> getKey()
public Method getMethod()
public Object getInstance()
public void configure(Binder binder)
public T get()
Provider
T
. Must never return null
.
get
in interface javax.inject.Provider<T>
public Set<Dependency<?>> getDependencies()
HasDependencies
Injector
will be
included in the returned set.
getDependencies
in interface HasDependencies
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |