Class ConstructionContext<T>
- java.lang.Object
-
- org.elasticsearch.common.inject.internal.ConstructionContext<T>
-
public class ConstructionContext<T> extends java.lang.Object
Context of a dependency construction. Used to manage circular references.
-
-
Constructor Summary
Constructors Constructor Description ConstructionContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createProxy(Errors errors, java.lang.Class<?> expectedType)
void
finishConstruction()
T
getCurrentReference()
boolean
isConstructing()
void
removeCurrentReference()
void
setCurrentReference(T currentReference)
void
setProxyDelegates(T delegate)
void
startConstruction()
-
-
-
Method Detail
-
getCurrentReference
public T getCurrentReference()
-
removeCurrentReference
public void removeCurrentReference()
-
setCurrentReference
public void setCurrentReference(T currentReference)
-
isConstructing
public boolean isConstructing()
-
startConstruction
public void startConstruction()
-
finishConstruction
public void finishConstruction()
-
createProxy
public java.lang.Object createProxy(Errors errors, java.lang.Class<?> expectedType) throws ErrorsException
- Throws:
ErrorsException
-
setProxyDelegates
public void setProxyDelegates(T delegate)
-
-