Top Description Fields Constructors Methods
com.google.inject.internal

pack-priv final Class ConstructionContext<T>

extends Object
Class Inheritance
Imports
com.google.inject.internal.InjectorImpl.InjectorOptions, java.util.ArrayList, .List

Context of a dependency construction. Used to manage circular references.
Author
[email protected] (Bob Lee)

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv T
pack-priv List<DelegatingInvocationHandler<T>>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object
createProxy(InjectorImpl.InjectorOptions injectorOptions, Class<?> expectedType)

public void
public T
public boolean
public void
public void
setCurrentReference(T currentReference)

public void
setProxyDelegates(T delegate)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

constructingback to summary
pack-priv boolean constructing
currentReferenceback to summary
pack-priv T currentReference
invocationHandlersback to summary
pack-priv List<DelegatingInvocationHandler<T>> invocationHandlers

Constructor Detail

ConstructionContextback to summary
pack-priv ConstructionContext()

Method Detail

createProxyback to summary
public Object createProxy(InjectorImpl.InjectorOptions injectorOptions, Class<?> expectedType) throws InternalProvisionException
finishConstructionback to summary
public void finishConstruction()
getCurrentReferenceback to summary
public T getCurrentReference()
isConstructingback to summary
public boolean isConstructing()
removeCurrentReferenceback to summary
public void removeCurrentReference()
setCurrentReferenceback to summary
public void setCurrentReference(T currentReference)
setProxyDelegatesback to summary
public void setProxyDelegates(T delegate)
startConstructionback to summary
public void startConstruction()