当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
SubSession - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.portlet.session
Class SubSession
java.lang.Object
org.jboss.portal.portlet.session.SubSession
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class SubSession
- extends java.lang.Object
- implements java.io.Externalizable
A subsession keep tracks of the content of a given portlet session.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubSession
public SubSession(java.lang.String id)
SubSession
public SubSession()
getId
public java.lang.String getId()
isActivated
public boolean isActivated()
setActivated
public void setActivated(boolean activated)
getAttributeNames
public java.util.Set getAttributeNames()
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
create
public void create()
destroy
public void destroy()
synchronizeWithPortalSession
public void synchronizeWithPortalSession(javax.servlet.http.HttpServletRequest portalRequest,
java.util.List modifications,
java.lang.String key)
- Parameters:
portalRequest
- key
-
synchronizeWithDispatchedSession
public void synchronizeWithDispatchedSession(javax.servlet.http.HttpServletRequest dispatchedRequest)
- Synchronize the content with the session held by the dispatched request. This method will use the thread context
classloader to unserialize the content of the session.
- Parameters:
dispatchedRequest
-
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException