com.jdon.container.visitor.data
类 SessionContext

java.lang.Object
  继承者 com.jdon.container.visitor.data.SessionContext
所有已实现的接口:
Serializable

public class SessionContext
extends Object
implements Serializable

this class inlude those datas that read from the web container or others. these datas is stateful, and it's scope is one instance per client. usually they are saved in httpSession of the web container. but these datas are different from the components that saved in httpsession. it is like the stateful components. it include state data. the way of visiting the SessionContext that saved in httpSession targetMetaRequest.setVisitableName(ComponentKeys.SESSIONCONTEXT_FACTORY); SessionContext sessionContext = (SessionContext)cm.visit(targetMetaRequest);

作者:
banq
另请参见:
create a new SessionContext, 序列化表格

字段摘要
static String NAME
           
 
构造方法摘要
SessionContext(int maxSize)
           
 
方法摘要
 Object getArrtibute(String key)
           
 void remove(String key)
           
 void removeAll()
           
 void setArrtibute(String key, Object object)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

NAME

public static final String NAME
构造方法详细信息

SessionContext

public SessionContext(int maxSize)
方法详细信息

setArrtibute

public void setArrtibute(String key,
                         Object object)

getArrtibute

public Object getArrtibute(String key)

remove

public void remove(String key)

removeAll

public void removeAll()


Copyright © 2013. All Rights Reserved.