|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpConversationContext
An Http Session backed conversation context. A transient conversation will be detached from the underlying session. If the conversation is promoted to long running, context will be attached to the underlying Http Session at the end of the request.
Method Summary | |
---|---|
boolean |
destroy(javax.servlet.http.HttpSession session)
If the context is not currently associated with a HttpServletRequest , then the context will be associated with the
specified HttpSession (for this thread), activated, destroyed, and
then deactivated. |
Methods inherited from interface org.jboss.weld.context.BoundContext |
---|
associate, dissociate |
Methods inherited from interface org.jboss.weld.context.ConversationContext |
---|
activate, activate, generateConversationId, getConcurrentAccessTimeout, getConversation, getConversations, getCurrentConversation, getDefaultTimeout, getParameterName, invalidate, setConcurrentAccessTimeout, setDefaultTimeout, setParameterName |
Methods inherited from interface org.jboss.weld.context.ManagedContext |
---|
deactivate |
Methods inherited from interface javax.enterprise.context.spi.Context |
---|
get, get, getScope, isActive |
Method Detail |
---|
boolean destroy(javax.servlet.http.HttpSession session)
If the context is not currently associated with a
HttpServletRequest
, then the context will be associated with the
specified HttpSession
(for this thread), activated, destroyed, and
then deactivated. Any conversations associated with the context will also
be destroyed.
If the context is already associated with a HttpServletRequest
then this call will detach the context from the underlying Http Session,
and mark the context for destruction when the request is destroyed.
This will cause any transient conversations, and any long running conversations associated with the session, to be destroyed.
session
- the HttpSession
in which to store the bean
instances
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |