当前页面:
在线文档首页 >
JBoss Seam 1.1.7 cr1 API 英文版文档
ServerConversationContext (JBoss Seam API Documentation) - JBoss Seam 1.1.7 cr1 API 英文版文档
org.jboss.seam.contexts
Class ServerConversationContext
java.lang.Object
org.jboss.seam.contexts.ServerConversationContext
- All Implemented Interfaces:
- Context
public class ServerConversationContext
- extends Object
- implements Context
A conversation context is a logical context that lasts longer than
a request but shorter than a login session
- Version:
- $Revision: 1.20 $
- Author:
- Gavin King, Thomas Heute
ServerConversationContext
public ServerConversationContext(ContextAdaptor session)
ServerConversationContext
public ServerConversationContext(ContextAdaptor session,
String id)
getType
public ScopeType getType()
- Specified by:
getType
in interface Context
get
public Object get(String name)
- Specified by:
get
in interface Context
set
public void set(String name,
Object value)
- Specified by:
set
in interface Context
isSet
public boolean isSet(String name)
- Specified by:
isSet
in interface Context
remove
public void remove(String name)
- Specified by:
remove
in interface Context
getNames
public String[] getNames()
- Specified by:
getNames
in interface Context
get
public Object get(Class clazz)
- Specified by:
get
in interface Context
clear
public void clear()
flush
public void flush()
- Propagate additions and removals to the HttpSession if
the current conversation is long-running, or remove all
attributes if it is a temporary conversation. This work
may only be done at the end of the request, since we
don't know for sure the conversation id until then.
- Specified by:
flush
in interface Context
toString
public String toString()
- Overrides:
toString
in class Object