949596979899100101102103104
Injectors.close(injector, scopeAnnotation, errors); synchronized (map) { map.clear(); } errors.throwIfNecessary(); } public Class<? extends Annotation> getScopeAnnotation() { return scopeAnnotation; }
150151152153154155156157158159160
// Object key = entry.getKey(); Injector injector = entry.getValue(); Injectors.close(injector, errors); } injectors.clear(); errors.throwIfNecessary(); } /** * Factory method to return the module type that will be used to create an * injector.