public class BoundConversationContextImpl extends AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>> implements org.jboss.weld.context.bound.BoundConversationContext
CONVERSATIONS_ATTRIBUTE_NAME| Constructor and Description |
|---|
BoundConversationContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected BoundBeanStore |
createRequestBeanStore(NamingScheme namingScheme,
org.jboss.weld.context.bound.BoundRequest request) |
protected BoundBeanStore |
createSessionBeanStore(NamingScheme namingScheme,
Map<String,Object> session) |
protected Object |
getRequestAttribute(org.jboss.weld.context.bound.BoundRequest request,
String name)
Retrieve an attribute value from the request
|
protected Object |
getSessionAttribute(org.jboss.weld.context.bound.BoundRequest request,
String name,
boolean create)
Get an attribute value from the session.
|
protected Object |
getSessionAttributeFromSession(Map<String,Object> session,
String name)
Get an attribute value from the session.
|
protected Map<String,Object> |
getSessionFromRequest(org.jboss.weld.context.bound.BoundRequest request,
boolean create) |
protected void |
removeRequestAttribute(org.jboss.weld.context.bound.BoundRequest request,
String name)
Remove an attribute from the request.
|
protected void |
setRequestAttribute(org.jboss.weld.context.bound.BoundRequest request,
String name,
Object value)
Set an attribute in the request.
|
protected void |
setSessionAttribute(org.jboss.weld.context.bound.BoundRequest request,
String name,
Object value,
boolean create)
Set an attribute in the session.
|
activate, activate, associate, associateRequest, associateRequest, deactivate, destroy, destroyConversation, dissociate, generateConversationId, getConcurrentAccessTimeout, getConversation, getConversations, getCurrentConversation, getDefaultTimeout, getParameterName, getScope, invalidate, setConcurrentAccessTimeout, setDefaultTimeout, setParameterNamecleanup, getBeanStore, setBeanStoreisActive, setActivedestroy, get, get, getContextual, getId, getServiceRegistryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate, activate, generateConversationId, getConcurrentAccessTimeout, getConversation, getConversations, getCurrentConversation, getDefaultTimeout, getParameterName, invalidate, setConcurrentAccessTimeout, setDefaultTimeout, setParameterNameprotected void setSessionAttribute(org.jboss.weld.context.bound.BoundRequest request,
String name,
Object value,
boolean create)
AbstractConversationContextsetSessionAttribute in class AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>>request - the request to set the session attribute inname - the name of the attributevalue - the value of the attributecreate - if false, the attribute will only be set if the session
already exists, other wise it will always be setprotected Object getSessionAttribute(org.jboss.weld.context.bound.BoundRequest request, String name, boolean create)
AbstractConversationContextgetSessionAttribute in class AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>>request - the request to get the session attribute fromname - the name of the attributecreate - if false, the attribute will only be retrieved if the
session already exists, other wise it will always be retrievedprotected void removeRequestAttribute(org.jboss.weld.context.bound.BoundRequest request,
String name)
AbstractConversationContextremoveRequestAttribute in class AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>>request - the request to remove the attribute fromname - the name of the attributeprotected void setRequestAttribute(org.jboss.weld.context.bound.BoundRequest request,
String name,
Object value)
AbstractConversationContextsetRequestAttribute in class AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>>request - the request to set the attribute fromname - the name of the attributevalue - the value of the attributeprotected Object getRequestAttribute(org.jboss.weld.context.bound.BoundRequest request, String name)
AbstractConversationContextgetRequestAttribute in class AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>>request - the request to get the attribute fromname - the name of the attribute to getprotected BoundBeanStore createRequestBeanStore(NamingScheme namingScheme, org.jboss.weld.context.bound.BoundRequest request)
createRequestBeanStore in class AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>>protected BoundBeanStore createSessionBeanStore(NamingScheme namingScheme, Map<String,Object> session)
createSessionBeanStore in class AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>>protected Object getSessionAttributeFromSession(Map<String,Object> session, String name)
AbstractConversationContextgetSessionAttributeFromSession in class AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>>session - the session to get the session attribute fromname - the name of the attributeprotected Map<String,Object> getSessionFromRequest(org.jboss.weld.context.bound.BoundRequest request, boolean create)
getSessionFromRequest in class AbstractConversationContext<org.jboss.weld.context.bound.BoundRequest,Map<String,Object>>Copyright © 2014 Seam Framework. All Rights Reserved.