Class ConstructionContext<T>

java.lang.Object
com.google.inject.internal.ConstructionContext<T>

final class ConstructionContext<T> extends Object
Context of a dependency construction. Used to manage circular references.
  • Field Details

  • Constructor Details

    • ConstructionContext

      ConstructionContext()
  • Method Details

    • 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 Object createProxy(InjectorImpl.InjectorOptions injectorOptions, Class<?> expectedType) throws InternalProvisionException
      Throws:
      InternalProvisionException
    • setProxyDelegates

      public void setProxyDelegates(T delegate)