|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScopeAnnotation | |
|---|---|
| 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 requires guice-servlet-2.0.jar. |
| Uses of ScopeAnnotation in com.google.inject |
|---|
| Classes in com.google.inject with annotations of type ScopeAnnotation | |
|---|---|
interface |
Singleton
Apply this to implementation classes when you want only one instance (per Injector) 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 | |
|---|---|
interface |
RequestScoped
Apply this to implementation classes when you want one instance per request. |
interface |
SessionScoped
Apply this to implementation classes when you want one instance per session. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||