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