|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ContextScope | |
|---|---|
| org.directwebremoting.guice | This package provides support for Guice dependency injection in DWR-based web applications. |
| Uses of ContextScope in org.directwebremoting.guice |
|---|
| Classes in org.directwebremoting.guice that implement ContextScope | |
|---|---|
class |
AbstractContextScope<C,R>
Partial implementation of ContextScope. |
class |
AbstractMapContextScope<C>
A specialization of AbstractContextScope using a concurrent map
to hold registered instance providers. |
class |
AbstractSimpleContextScope<C>
A specialization of AbstractContextScope for the case when
the context identifier itself can serve as a string-keyed instance registry
using synchronization on the context to provide atomic put-if-absent
and remove-specific-value behavior. |
| Fields in org.directwebremoting.guice declared as ContextScope | |
|---|---|
static ContextScope<javax.servlet.ServletContext> |
DwrScopes.APPLICATION
Application scope: objects in this scope are eagerly initialized during DWR servlet initialization, and Closeable objects in this scope are closed during DWR servlet destruction. |
static ContextScope<javax.servlet.ServletContext> |
DwrScopes.GLOBAL
Global application scope: like DwrScopes.APPLICATION, but objects in
this scope are not eagerly initialized and Closeable objects
in this scope are closed during servlet context destruction (not
during DWR servlet destruction). |
static ContextScope<javax.servlet.http.HttpServletRequest> |
DwrScopes.REQUEST
HTTP request scope. |
static ContextScope<ScriptSession> |
DwrScopes.SCRIPT
DWR script session scope. |
static ContextScope<javax.servlet.http.HttpSession> |
DwrScopes.SESSION
HTTP session scope. |
|
Copyright ¬ 2005 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||