Searched refs:isSingleton (Results 1 – 13 of 13) sorted by relevance
580 assertFalse(Scopes.isSingleton(map.get(a))); // linked bindings are not followed by modules581 assertFalse(Scopes.isSingleton(map.get(b)));582 assertTrue(Scopes.isSingleton(map.get(c)));583 assertTrue(Scopes.isSingleton(map.get(d)));584 assertTrue(Scopes.isSingleton(map.get(e)));585 assertTrue(Scopes.isSingleton(map.get(f)));586 assertTrue(Scopes.isSingleton(map.get(g)));587 assertFalse(Scopes.isSingleton(map.get(h))); // annotated classes are not followed by modules588 assertTrue(Scopes.isSingleton(map.get(i)));591 assertTrue(Scopes.isSingleton(injector.getBinding(a)));[all …]
369 return Scopes.isSingleton(t); in testSingletonMatcher()
83 public boolean isSingleton() { in isSingleton() method in Scope
573 && scope.isSingleton()) { in validateDependencyScopes()
90 public static boolean isSingleton(Binding<?> binding) { in isSingleton() method in Scopes
149 bool isSingleton(const SMSNode &N) const { in isSingleton() function486 if (isSingleton(N)) { in unlink()
1070 bool isSingleton() const { return getHeight() == 1; }1186 bool isSingleton() const { return getHeight() == 1; }
107 singleton = beanFactory.isSingleton(name); in initialize()
97 if (!Scopes.isSingleton(injector.getBinding(filterKey))) { in init()
107 if (!Scopes.isSingleton(injector.getBinding(servletKey))) { in init()
181 assertTrue(Scopes.isSingleton(injector.getBinding(J.class))); in testScopesIsSingleton()182 assertTrue(Scopes.isSingleton(injector.getBinding(K.class))); in testScopesIsSingleton()
1038 bool isSingleton() const { return getHeight() == 1; }1170 bool isSingleton() const { return getHeight() == 1; }
110 return ranges.isSingleton() ? ranges.begin()->getConcreteValue() : nullptr; in getConcreteValue()