org.apache.wsrp4j.consumer.app.driver
Class GroupSessionImpl

java.lang.Object
  extended byorg.apache.wsrp4j.consumer.driver.InitCookieInfoImpl
      extended byorg.apache.wsrp4j.consumer.driver.GenericGroupSessionImpl
          extended byorg.apache.wsrp4j.consumer.app.driver.GroupSessionImpl
All Implemented Interfaces:
GroupSession, GroupSessionMgr, InitCookieInfo

public class GroupSessionImpl
extends GenericGroupSessionImpl

Class implements a consumer based group session

Version:
$Id: GroupSessionImpl.java,v 1.5 2005/08/10 14:45:38 cziegeler Exp $

Field Summary
 
Fields inherited from class org.apache.wsrp4j.consumer.driver.GenericGroupSessionImpl
portletSessions
 
Fields inherited from class org.apache.wsrp4j.consumer.driver.InitCookieInfoImpl
 
Constructor Summary
GroupSessionImpl(java.lang.String groupID, java.lang.String markupInterfaceURL)
          Construct a new GroupSessionImpl object with the given groupID.
 
Method Summary
 PortletSession getPortletSession(java.lang.String handle)
          Get the portlet session object which is identified with the given instanceKey from the group session.
 
Methods inherited from class org.apache.wsrp4j.consumer.driver.GenericGroupSessionImpl
addPortletSession, existsPortletSession, getAllPortletSessions, getGroupID, removeAllPortletSessions, removePortletSession, setGroupID
 
Methods inherited from class org.apache.wsrp4j.consumer.driver.InitCookieInfoImpl
getMarkupInterfaceURL, getWSRPBaseService, isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired, setWSRPBaseService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.wsrp4j.consumer.InitCookieInfo
getMarkupInterfaceURL, getWSRPBaseService, isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired, setWSRPBaseService
 

Constructor Detail

GroupSessionImpl

public GroupSessionImpl(java.lang.String groupID,
                        java.lang.String markupInterfaceURL)
                 throws WSRPException
Construct a new GroupSessionImpl object with the given groupID. The portletServicesURL is needed for implementing the PortletServices interface.

See Also:
PortletServices
Method Detail

getPortletSession

public PortletSession getPortletSession(java.lang.String handle)
Get the portlet session object which is identified with the given instanceKey from the group session. If no portlet session with that instanceKey exists it depends of the implementation wether null or a newly created portlet session object is returned.

Specified by:
getPortletSession in interface GroupSession
Specified by:
getPortletSession in class GenericGroupSessionImpl
Parameters:
handle - The key which identifies the portlet session object
Returns:
The portlet session with the given key


--