/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | InternalServletModule.java | 83 bindScope(RequestScoped.class, REQUEST); in configure() 84 bindScope(SessionScoped.class, SESSION); in configure()
|
/external/guice/core/test/com/google/inject/ |
D | ScopesTest.java | 279 bindScope(CustomScoped.class, scope); in testUnscopedProviderWorksOutsideOfRequestedScope() 299 bindScope(NotRuntimeRetainedScoped.class, Scopes.NO_SCOPE); in configure() 322 bindScope(Deprecated.class, Scopes.NO_SCOPE); in configure() 345 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in configure() 350 bindScope(CustomScoped.class, Scopes.SINGLETON); in configure() 372 bindScope(CustomScoped.class, Scopes.SINGLETON); in testBindDuplicateScope() 373 bindScope(CustomScoped.class, Scopes.SINGLETON); in testBindDuplicateScope() 385 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in testDuplicateScopeAnnotations() 524 bindScope(CustomScoped.class, providerGetScope); in testScopeThatGetsAnUnrelatedObject() 616 bindScope(CustomScoped.class, Scopes.NO_SCOPE); [all …]
|
D | ParentInjectorTest.java | 121 bindScope(MyScope.class, Scopes.SINGLETON); in testScopesInherited() 223 bindScope(MyScope.class, Scopes.SINGLETON); in testScopeBoundInChildInjectorOnly() 244 bindScope(MyScope.class, Scopes.SINGLETON); in testErrorInParentButOkayInChild()
|
D | ErrorHandlingTest.java | 129 bindScope(BadScope.class, Scopes.SINGLETON); in configure()
|
D | CircularDependencyTest.java | 529 bindScope(SimpleSingleton.class, new BasicSingleton()); in testCustomScopeCircularProxies()
|
D | BinderTestSuite.java | 310 bindScope(TwoAtATimeScoped.class, new TwoAtATimeScope());
|
/external/guice/core/src/com/google/inject/ |
D | AbstractModule.java | 85 protected void bindScope(Class<? extends Annotation> scopeAnnotation, in bindScope() method in AbstractModule 87 binder().bindScope(scopeAnnotation, scope); in bindScope()
|
D | PrivateModule.java | 148 protected final void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { in bindScope() method in PrivateModule 149 binder().bindScope(scopeAnnotation, scope); in bindScope()
|
D | Binder.java | 234 void bindScope(Class<? extends Annotation> annotationType, Scope scope); in bindScope() method
|
/external/guice/core/src/com/google/inject/spi/ |
D | ScopeBinding.java | 65 binder.withSource(getSource()).bindScope(annotationType, scope); in applyTo()
|
D | Elements.java | 234 public void bindScope(Class<? extends Annotation> annotationType, Scope scope) { in bindScope() method in Elements.RecordingBinder
|
/external/guice/core/test/com/google/inject/util/ |
D | OverrideModuleTest.java | 251 bindScope(TestScopeAnnotation.class, scope); in testStandardScopeAnnotation() 289 bindScope(TestScopeAnnotation.class, scope); in testOverrideScopeAnnotation() 296 bindScope(TestScopeAnnotation.class, replacementScope); in testOverrideScopeAnnotation() 318 bindScope(TestScopeAnnotation.class, scope); in testFailsIfOverridenScopeInstanceHasBeenUsed() 331 bindScope(TestScopeAnnotation.class, new SingleUseScope()); in testFailsIfOverridenScopeInstanceHasBeenUsed()
|
/external/guice/core/src/com/google/inject/internal/ |
D | InjectorShell.java | 294 binder.bindScope(Singleton.class, SINGLETON); in configure() 295 binder.bindScope(javax.inject.Singleton.class, SINGLETON); in configure()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | TransferRequestIntegrationTest.java | 65 bindScope(RequestScoped.class, ServletScopes.REQUEST); in testTransferNonHttpRequest()
|
D | ServletScopesTest.java | 134 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in testIsRequestScopedNegative()
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
D | CheckedProviderMethodsModuleTest.java | 71 bindScope(TestScope.Scoped.class, testScope); in configure()
|
D | CheckedProviderTest.java | 120 bindScope(TestScope.Scoped.class, testScope); in setUp() 1481 bindScope(BadScope.class, new Scope() { in testProvisionExceptionOnDependenciesOfCxtor()
|
D | ThrowingProviderTest.java | 85 bindScope(TestScope.Scoped.class, testScope);
|
/external/guice/core/test/com/googlecode/guice/ |
D | Jsr330Test.java | 122 bindScope(TestScoped.class, scope); in testScopeAnnotation()
|
/external/guice/core/test/com/google/inject/spi/ |
D | ElementsTest.java | 723 bindScope(SampleAnnotation.class, Scopes.NO_SCOPE); in testBindScope()
|