Searched refs:constructionContext (Results 1 – 8 of 8) sorted by relevance
/external/guice/core/src/com/google/inject/internal/ |
D | ConstructorInjector.java | 67 final ConstructionContext<T> constructionContext = context.getConstructionContext(this); in construct() local 69 if (constructionContext.isConstructing()) { in construct() 71 return constructionContext.createProxy( in construct() 77 T t = constructionContext.getCurrentReference(); in construct() 87 constructionContext.startConstruction(); in construct() 91 return provision(context, constructionContext); in construct() 98 return provision(context, constructionContext); in construct() 103 constructionContext.finishConstruction(); in construct() 108 private T provision(InternalContext context, ConstructionContext<T> constructionContext) 115 constructionContext.setProxyDelegates(t); [all …]
|
D | ProviderInternalFactory.java | 44 final ConstructionContext<T> constructionContext = context.getConstructionContext(this); in circularGet() local 47 if (constructionContext.isConstructing()) { in circularGet() 51 T proxyType = (T) constructionContext.createProxy(context.getInjectorOptions(), expectedType); in circularGet() 56 constructionContext.startConstruction(); in circularGet() 59 return provision(provider, dependency, constructionContext); in circularGet() 66 return provision(provider, dependency, constructionContext); in circularGet() 71 constructionContext.removeCurrentReference(); in circularGet() 72 constructionContext.finishConstruction(); in circularGet() 83 ConstructionContext<T> constructionContext) 89 constructionContext.setProxyDelegates(t);
|
D | InternalProviderInstanceBindingImpl.java | 149 final ConstructionContext<T> constructionContext = context.getConstructionContext(this); 151 if (constructionContext.isConstructing()) { 155 (T) constructionContext.createProxy(context.getInjectorOptions(), expectedType); 159 constructionContext.startConstruction(); 162 return provision(dependency, context, constructionContext); 169 return provision(dependency, context, constructionContext); 174 constructionContext.removeCurrentReference(); 175 constructionContext.finishConstruction(); 182 ConstructionContext<T> constructionContext) 186 constructionContext.setProxyDelegates(t);
|
D | SingletonScope.java | 104 final ConstructionContext<T> constructionContext = new ConstructionContext<>(); in scope() 161 synchronized (constructionContext) { in scope() 164 constructionContext.setProxyDelegates(provided); in scope() 176 synchronized (constructionContext) { in scope() 177 constructionContext.finishConstruction(); in scope() 190 synchronized (constructionContext) { in scope() 202 (T) constructionContext.createProxy(context.getInjectorOptions(), rawType); in scope()
|
D | InternalContext.java | 93 ConstructionContext<T> constructionContext = in getConstructionContext() local 95 if (constructionContext == null) { in getConstructionContext() 96 constructionContext = new ConstructionContext<>(); in getConstructionContext() 97 constructionContexts.put(key, constructionContext); in getConstructionContext() 99 return constructionContext; in getConstructionContext()
|
D | InternalFactoryToInitializableAdapter.java | 54 ConstructionContext<T> constructionContext) in provision() argument 57 return super.provision(provider, dependency, constructionContext); in provision()
|
D | BoundProviderFactory.java | 74 ConstructionContext<T> constructionContext) in provision() argument 77 return super.provision(provider, dependency, constructionContext); in provision()
|
D | ProvidedByInternalFactory.java | 84 ConstructionContext<T> constructionContext) in provision() argument 87 Object o = super.provision(provider, dependency, constructionContext); in provision()
|