Searched refs:bindScope (Results 1 - 21 of 21) sorted by relevance

/external/guice/core/src/com/google/inject/spi/
H A DScopeBinding.java28 * explicitly in a module using {@link com.google.inject.Binder#bindScope(Class, Scope) bindScope()}
32 * bindScope(RecordScoped.class, new RecordScope());</pre>
65 binder.withSource(getSource()).bindScope(annotationType, scope);
H A DElements.java234 public void bindScope(Class<? extends Annotation> annotationType, Scope scope) { method in class:Elements.RecordingBinder
/external/guice/extensions/servlet/src/com/google/inject/servlet/
H A DInternalServletModule.java83 bindScope(RequestScoped.class, REQUEST);
84 bindScope(SessionScoped.class, SESSION);
/external/guice/core/src/com/google/inject/
H A DAbstractModule.java83 * @see Binder#bindScope(Class, Scope)
85 protected void bindScope(Class<? extends Annotation> scopeAnnotation, method in class:AbstractModule
87 binder().bindScope(scopeAnnotation, scope);
H A DPrivateModule.java146 * @see Binder#bindScope(Class, Scope)
148 protected final void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { method in class:PrivateModule
149 binder().bindScope(scopeAnnotation, scope);
H A DBinder.java196 * <p>The other methods of Binder such as {@link #bindScope},
234 void bindScope(Class<? extends Annotation> annotationType, Scope scope); method in interface:Binder
/external/guice/core/test/com/google/inject/
H A DParentInjectorTest.java121 bindScope(MyScope.class, Scopes.SINGLETON);
223 bindScope(MyScope.class, Scopes.SINGLETON);
244 bindScope(MyScope.class, Scopes.SINGLETON);
H A DErrorHandlingTest.java129 bindScope(BadScope.class, Scopes.SINGLETON);
H A DScopesTest.java279 bindScope(CustomScoped.class, scope);
299 bindScope(NotRuntimeRetainedScoped.class, Scopes.NO_SCOPE);
322 bindScope(Deprecated.class, Scopes.NO_SCOPE);
345 bindScope(CustomScoped.class, Scopes.NO_SCOPE);
350 bindScope(CustomScoped.class, Scopes.SINGLETON);
372 bindScope(CustomScoped.class, Scopes.SINGLETON);
373 bindScope(CustomScoped.class, Scopes.SINGLETON);
385 bindScope(CustomScoped.class, Scopes.NO_SCOPE);
524 bindScope(CustomScoped.class, providerGetScope);
616 bindScope(CustomScope
[all...]
H A DCircularDependencyTest.java529 bindScope(SimpleSingleton.class, new BasicSingleton());
H A DBinderTestSuite.java310 bindScope(TwoAtATimeScoped.class, new TwoAtATimeScope());
/external/guice/extensions/servlet/test/com/google/inject/servlet/
H A DTransferRequestIntegrationTest.java65 bindScope(RequestScoped.class, ServletScopes.REQUEST);
H A DServletScopesTest.java134 bindScope(CustomScoped.class, Scopes.NO_SCOPE);
/external/guice/core/src/com/google/inject/internal/
H A DInjectorShell.java294 binder.bindScope(Singleton.class, SINGLETON);
295 binder.bindScope(javax.inject.Singleton.class, SINGLETON);
/external/guice/core/test/com/google/inject/util/
H A DOverrideModuleTest.java251 bindScope(TestScopeAnnotation.class, scope);
289 bindScope(TestScopeAnnotation.class, scope);
296 bindScope(TestScopeAnnotation.class, replacementScope);
318 bindScope(TestScopeAnnotation.class, scope);
331 bindScope(TestScopeAnnotation.class, new SingleUseScope());
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
H A DCheckedProviderMethodsModuleTest.java71 bindScope(TestScope.Scoped.class, testScope);
H A DCheckedProviderTest.java120 bindScope(TestScope.Scoped.class, testScope);
1481 bindScope(BadScope.class, new Scope() {
H A DThrowingProviderTest.java85 bindScope(TestScope.Scoped.class, testScope);
/external/guice/core/test/com/googlecode/guice/
H A DJsr330Test.java122 bindScope(TestScoped.class, scope);
/external/guice/core/test/com/google/inject/spi/
H A DElementsTest.java723 bindScope(SampleAnnotation.class, Scopes.NO_SCOPE);
/external/testng/lib-supplied/
H A Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ org/testng/guice/ org/testng/ ...

Completed in 447 milliseconds