/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | InternalServletModule.java | 84 bindScope(RequestScoped.class, REQUEST); in configure() 85 bindScope(SessionScoped.class, SESSION); in configure()
|
/external/guice/core/test/com/google/inject/ |
D | ScopesTest.java | 303 bindScope(CustomScoped.class, scope); in testUnscopedProviderWorksOutsideOfRequestedScope() 326 bindScope(NotRuntimeRetainedScoped.class, Scopes.NO_SCOPE); in configure() 355 bindScope(Deprecated.class, Scopes.NO_SCOPE); in configure() 383 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in configure() 390 bindScope(CustomScoped.class, Scopes.SINGLETON); in configure() 420 bindScope(CustomScoped.class, Scopes.SINGLETON); in testBindDuplicateScope() 421 bindScope(CustomScoped.class, Scopes.SINGLETON); in testBindDuplicateScope() 436 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in testDuplicateScopeAnnotations() 592 bindScope(CustomScoped.class, providerGetScope); in testScopeThatGetsAnUnrelatedObject() 695 bindScope(CustomScoped.class, Scopes.NO_SCOPE); [all …]
|
D | ParentInjectorTest.java | 132 bindScope(MyScope.class, Scopes.SINGLETON); in testScopesInherited() 252 bindScope(MyScope.class, Scopes.SINGLETON); in testScopeBoundInChildInjectorOnly() 277 bindScope(MyScope.class, Scopes.SINGLETON); in testErrorInParentButOkayInChild()
|
D | ErrorHandlingTest.java | 135 bindScope(BadScope.class, Scopes.SINGLETON); in configure()
|
D | CircularDependencyTest.java | 659 bindScope(SimpleSingleton.class, new BasicSingleton()); in testCustomScopeCircularProxies()
|
D | BinderTestSuite.java | 361 bindScope(TwoAtATimeScoped.class, new TwoAtATimeScope());
|
/external/guice/core/src/com/google/inject/ |
D | AbstractModule.java | 77 protected void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { in bindScope() method in AbstractModule 78 binder().bindScope(scopeAnnotation, scope); in bindScope()
|
D | PrivateModule.java | 145 protected final void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { in bindScope() method in PrivateModule 146 binder().bindScope(scopeAnnotation, scope); in bindScope()
|
D | Binder.java | 210 void bindScope(Class<? extends Annotation> annotationType, Scope scope); in bindScope() method
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | TransferRequestIntegrationTest.java | 76 bindScope(RequestScoped.class, ServletScopes.REQUEST); in testTransferNonHttpRequest() 115 bindScope(RequestScoped.class, ServletScopes.REQUEST); in testTransferNonHttpRequest_closeable()
|
D | ServletScopesTest.java | 135 bindScope(CustomScoped.class, Scopes.NO_SCOPE); in testIsRequestScopedNegative()
|
/external/guice/core/src/com/google/inject/spi/ |
D | ScopeBinding.java | 68 binder.withSource(getSource()).bindScope(annotationType, scope); in applyTo()
|
D | Elements.java | 232 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 | 284 bindScope(TestScopeAnnotation.class, scope); in testStandardScopeAnnotation() 330 bindScope(TestScopeAnnotation.class, scope); in testOverrideScopeAnnotation() 339 bindScope(TestScopeAnnotation.class, replacementScope); in testOverrideScopeAnnotation() 366 bindScope(TestScopeAnnotation.class, scope); in testFailsIfOverridenScopeInstanceHasBeenUsed() 383 bindScope(TestScopeAnnotation.class, new SingleUseScope()); in testFailsIfOverridenScopeInstanceHasBeenUsed()
|
/external/guice/core/src/com/google/inject/internal/ |
D | InjectorShell.java | 312 binder.bindScope(Singleton.class, SINGLETON); in configure() 313 binder.bindScope(javax.inject.Singleton.class, SINGLETON); in configure()
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
D | CheckedProviderMethodsModuleTest.java | 67 bindScope(TestScope.Scoped.class, testScope); in configure()
|
D | CheckedProviderTest.java | 123 bindScope(TestScope.Scoped.class, testScope); in setUp() 1626 bindScope( in testProvisionExceptionOnDependenciesOfCxtor()
|
D | ThrowingProviderTest.java | 91 bindScope(TestScope.Scoped.class, testScope);
|
/external/guice/core/test/com/googlecode/guice/ |
D | Jsr330Test.java | 132 bindScope(TestScoped.class, scope); in testScopeAnnotation()
|
/external/guice/core/test/com/google/inject/spi/ |
D | ElementsTest.java | 765 bindScope(SampleAnnotation.class, Scopes.NO_SCOPE); in testBindScope()
|