|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.guice.DwrScopes
public class DwrScopes
Scopes available to DWR applications.
| Field Summary | |
|---|---|
static ContextScope<javax.servlet.ServletContext> |
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> |
GLOBAL
Global application scope: like 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> |
REQUEST
HTTP request scope. |
static ContextScope<ScriptSession> |
SCRIPT
DWR script session scope. |
static ContextScope<javax.servlet.http.HttpSession> |
SESSION
HTTP session scope. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ContextScope<javax.servlet.http.HttpServletRequest> REQUEST
public static final ContextScope<ScriptSession> SCRIPT
public static final ContextScope<javax.servlet.http.HttpSession> SESSION
getOpenContexts() or close(session, handlers) to
work correctly for this scope.
public static final ContextScope<javax.servlet.ServletContext> APPLICATION
public static final ContextScope<javax.servlet.ServletContext> GLOBAL
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).
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||