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

SessionSequenceBuilder - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.portlet.jsr168.ext.session
Class SessionSequenceBuilder

java.lang.Object
  extended byorg.jboss.portal.test.framework.portlet.SequenceRegistryBuilder
      extended byorg.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

Field Summary
 
Fields inherited from class org.jboss.portal.test.framework.portlet.SequenceRegistryBuilder
METHOD_PATTERN
 
Constructor Summary
SessionSequenceBuilder()
           
 
Method Summary
 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.
 void createObtainNonNullSessionUsingCreateEqualsFalse(SequenceRegistry registry)
          .
 void createSessionDoesNotExistBeforeItIsRequested(SequenceRegistry registry)
          Test that a session does not exist the first time the portlet is accessed.
 
Methods inherited from class org.jboss.portal.test.framework.portlet.SequenceRegistryBuilder
contextDestroyed, contextInitialized, getRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionSequenceBuilder

public SessionSequenceBuilder()
Method Detail

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