当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
SessionSequenceBuilder - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.portlet.jsr168.ext.session
Class SessionSequenceBuilder
java.lang.Object
org.jboss.portal.test.framework.portlet.SequenceRegistryBuilder
org.jboss.portal.test.portlet.jsr168.ext.session.SessionSequenceBuilder
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
- public class SessionSequenceBuilder
- extends SequenceRegistryBuilder
- Version:
- $Revision: 5448 $
- Author:
- Boleslaw Dawidowicz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionSequenceBuilder
public SessionSequenceBuilder()
createSessionDoesNotExistBeforeItIsRequested
public void createSessionDoesNotExistBeforeItIsRequested(SequenceRegistry registry)
- Test that a session does not exist the first time the portlet is accessed.
- Parameters:
registry
-
createObtainNonNullSessionUsingCreateEqualsFalse
public void createObtainNonNullSessionUsingCreateEqualsFalse(SequenceRegistry registry)
- .
- Parameters:
registry
-
createCrossContextSessionAttributeCase
public void createCrossContextSessionAttributeCase(SequenceRegistry registry)
- The goal is to test that cross context session attributes are set in container and are accessible from the direct
servlet.
1/ portlet put key=value in the http session 2/ portlet ask the client to perform get on /servlet 3/ servlet check
that key=value