Class InternalContext
- java.lang.Object
-
- org.elasticsearch.common.inject.internal.InternalContext
-
public final class InternalContext extends Object
Internal context. Used to coordinate injections and support circular dependencies.- Author:
- crazybob@google.com (Bob Lee)
-
-
Constructor Summary
Constructors Constructor Description InternalContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ConstructionContext<T>getConstructionContext(Object key)DependencygetDependency()voidsetDependency(Dependency dependency)
-
-
-
Method Detail
-
getConstructionContext
public <T> ConstructionContext<T> getConstructionContext(Object key)
-
getDependency
public Dependency getDependency()
-
setDependency
public void setDependency(Dependency dependency)
-
-