Uses of Class
com.google.inject.ScopeAnnotation
-
Packages that use ScopeAnnotation Package Description com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.com.google.inject.servlet Servlet API scopes, bindings and registration; this extension requiresguice-servlet.jar
. -
-
Uses of ScopeAnnotation in com.google.inject
Classes in com.google.inject with annotations of type ScopeAnnotation Modifier and Type Class Description interface
Singleton
Apply this to implementation classes when you want only one instance (perInjector
) to be reused for all injections for that binding. -
Uses of ScopeAnnotation in com.google.inject.servlet
Classes in com.google.inject.servlet with annotations of type ScopeAnnotation Modifier and Type Class Description interface
SessionScoped
Apply this to implementation classes when you want one instance per session.
-