Uses of Interface
com.google.inject.Scope
-
Packages that use Scope Package Description com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.com.google.inject.binder Interfaces which make upBinder's expression language.com.google.inject.servlet Servlet API scopes, bindings and registration; this extension requiresguice-servlet.jar.com.google.inject.spi Guice service provider interface -
-
Uses of Scope in com.google.inject
Fields in com.google.inject declared as Scope Modifier and Type Field Description static ScopeScopes. NO_SCOPENo scope; the same as not applying any scope at all.static ScopeScopes. SINGLETONOne instance perInjector.Methods in com.google.inject that return types with arguments of type Scope Modifier and Type Method Description Map<Class<? extends Annotation>,Scope>Injector. getScopeBindings()Returns a map containing all scopes in the injector.Methods in com.google.inject with parameters of type Scope Modifier and Type Method Description protected voidAbstractModule. bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope)voidBinder. bindScope(Class<? extends Annotation> annotationType, Scope scope)Binds a scope to an annotation.protected voidPrivateModule. bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope)static booleanScopes. isScoped(Binding<?> binding, Scope scope, Class<? extends Annotation> scopeAnnotation)Returns true ifbindinghas the given scope. -
Uses of Scope in com.google.inject.binder
Methods in com.google.inject.binder with parameters of type Scope Modifier and Type Method Description voidScopedBindingBuilder. in(Scope scope)See the EDSL examples atBinder. -
Uses of Scope in com.google.inject.servlet
Fields in com.google.inject.servlet declared as Scope Modifier and Type Field Description static ScopeServletScopes. REQUESTHTTP servlet request scope.static ScopeServletScopes. SESSIONHTTP session scope. -
Uses of Scope in com.google.inject.spi
Methods in com.google.inject.spi that return Scope Modifier and Type Method Description ScopeScopeBinding. getScope()Methods in com.google.inject.spi with parameters of type Scope Modifier and Type Method Description VBindingScopingVisitor. visitScope(Scope scope)Visit a scope instance.VDefaultBindingScopingVisitor. visitScope(Scope scope)
-