org.apache.cocoon.portal.wsrp.consumer
Class GroupSessionImpl

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

public class GroupSessionImpl
extends org.apache.wsrp4j.consumer.driver.GenericGroupSessionImpl

Implements a consumer based group session

Version:
$Id: GroupSessionImpl.java 322475 2005-10-16 14:26:44Z cziegeler $

Field Summary
protected  Logger logger
          The logger.
 
Fields inherited from class org.apache.wsrp4j.consumer.driver.GenericGroupSessionImpl
portletSessions
 
Constructor Summary
GroupSessionImpl(String groupID, String markupInterfaceURL, Logger logger)
          Constructs a new GroupSessionImpl object with the given groupID.
 
Method Summary
 org.apache.wsrp4j.consumer.PortletSession getPortletSession(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
 

Field Detail

logger

protected Logger logger
The logger.

Constructor Detail

GroupSessionImpl

public GroupSessionImpl(String groupID,
                        String markupInterfaceURL,
                        Logger logger)
                 throws org.apache.wsrp4j.exception.WSRPException
Constructs a new GroupSessionImpl object with the given groupID. The portletServicesURL is needed for implementing the PortletServices interface.

Parameters:
groupID -
markupInterfaceURL -
logger -
Throws:
org.apache.wsrp4j.exception.WSRPException
See Also:
PortletServices
Method Detail

getPortletSession

public org.apache.wsrp4j.consumer.PortletSession getPortletSession(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.

Parameters:
handle - The key which identifies the portlet session object
Returns:
PortletSession The portlet session with the given key


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.