|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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. |
java.util.Set<Dependency<?>> |
getDependencies()
Returns the known dependencies for this type. |
java.lang.Object |
getInstance()
|
Key<T> |
getKey()
|
java.lang.reflect.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 java.lang.reflect.Method getMethod()
public java.lang.Object getInstance()
public void configure(Binder binder)
public T get()
ProviderT. Must never return null.
get in interface Provider<T>public java.util.Set<Dependency<?>> getDependencies()
HasDependenciesInjector 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 | ||||||||