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