|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.servlet.ServletLifecycle
public class ServletLifecycle
Implementation of the Web Beans lifecycle that can react to servlet events and drives the Session, Conversation and Request (for Servlet requests) lifecycle
Field Summary | |
---|---|
static java.lang.String |
REQUEST_ATTRIBUTE_NAME
|
Constructor Summary | |
---|---|
ServletLifecycle(ContextLifecycle lifecycle)
|
Method Summary | |
---|---|
void |
beginRequest(javax.servlet.http.HttpServletRequest request)
Begins a HTTP request Sets the session into the session context |
void |
beginSession(javax.servlet.http.HttpSession session)
Begins a session |
void |
endRequest(javax.servlet.http.HttpServletRequest request)
Ends a HTTP request |
void |
endSession(javax.servlet.http.HttpSession session)
Ends a session |
protected BeanStore |
restoreSessionContext(javax.servlet.http.HttpServletRequest request)
Restore the session from the underlying session object. |
protected BeanStore |
restoreSessionContext(javax.servlet.http.HttpSession session)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REQUEST_ATTRIBUTE_NAME
Constructor Detail |
---|
public ServletLifecycle(ContextLifecycle lifecycle)
Method Detail |
---|
public void beginSession(javax.servlet.http.HttpSession session)
session
- The HTTP sessionpublic void endSession(javax.servlet.http.HttpSession session)
session
- The HTTP sessionprotected BeanStore restoreSessionContext(javax.servlet.http.HttpServletRequest request)
session
-
protected BeanStore restoreSessionContext(javax.servlet.http.HttpSession session)
public void beginRequest(javax.servlet.http.HttpServletRequest request)
request
- The requestpublic void endRequest(javax.servlet.http.HttpServletRequest request)
request
- The request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |