final class ConstructionContext<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
constructing |
(package private) T |
currentReference |
(package private) java.util.List<DelegatingInvocationHandler<T>> |
invocationHandlers |
Constructor and Description |
---|
ConstructionContext() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createProxy(Errors errors,
InjectorImpl.InjectorOptions injectorOptions,
java.lang.Class<?> expectedType) |
void |
finishConstruction() |
T |
getCurrentReference() |
boolean |
isConstructing() |
void |
removeCurrentReference() |
void |
setCurrentReference(T currentReference) |
void |
setProxyDelegates(T delegate) |
void |
startConstruction() |
T currentReference
boolean constructing
java.util.List<DelegatingInvocationHandler<T>> invocationHandlers
public T getCurrentReference()
public void removeCurrentReference()
public void setCurrentReference(T currentReference)
public boolean isConstructing()
public void startConstruction()
public void finishConstruction()
public java.lang.Object createProxy(Errors errors, InjectorImpl.InjectorOptions injectorOptions, java.lang.Class<?> expectedType) throws ErrorsException
ErrorsException
public void setProxyDelegates(T delegate)