站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.0.1 API 英文版文档

ServerConversationContext (JBoss Seam API Documentation) - JBoss Seam 1.0.1 API 英文版文档


org.jboss.seam.contexts
Class ServerConversationContext

java.lang.Object
  extended by 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.4 $
Author:
Gavin King, Thomas Heute

Constructor Summary
ServerConversationContext(ContextAdaptor session)
           
ServerConversationContext(ContextAdaptor session, String id)
           
 
Method Summary
 void clear()
           
 void flush()
           
 Object get(Class clazz)
           
 Object get(String name)
           
 String[] getNames()
           
 ScopeType getType()
           
 boolean isSet(String name)
           
 void remove(String name)
           
 void set(String name, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerConversationContext

public ServerConversationContext(ContextAdaptor session)

ServerConversationContext

public ServerConversationContext(ContextAdaptor session,
                                 String id)
Method Detail

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()
Specified by:
flush in interface Context

toString

public String toString()
Overrides:
toString in class Object