uPortal 2.4.1
API Documentation

org.jasig.portal
Interface IMultithreadedChannel

All Known Subinterfaces:
IMultithreadedCharacterChannel
All Known Implementing Classes:
BaseMultithreadedChannel, CGenericXSLT, CGroupsManager, CPortletAdapter, CWebProxy

public interface IMultithreadedChannel

An interface for multithreaded channels. Multithreaded channels are trusted to keep their own state/session/user separation (instead of relying on the servlet engine to do so). The methods are exact analogs of those in IChannel interface, but means to identify the channel instance are passed along with each method. Please refer to IChannel interface for method descriptions.

Version:
$Revision: 1.2 $
Author:
Peter Kharchenko pkharchenko@interactivebusiness.com
See Also:
IChannel, IMultithreadedCacheable

Method Summary
 ChannelRuntimeProperties getRuntimeProperties(java.lang.String uid)
           
 void receiveEvent(PortalEvent ev, java.lang.String uid)
           
 void renderXML(org.xml.sax.ContentHandler out, java.lang.String uid)
           
 void setRuntimeData(ChannelRuntimeData rd, java.lang.String uid)
           
 void setStaticData(ChannelStaticData sd, java.lang.String uid)
           
 

Method Detail

setStaticData

public void setStaticData(ChannelStaticData sd,
                          java.lang.String uid)
                   throws PortalException
Parameters:
uid - a string uniqly identifying a channel "instance" in the system. For example, a combination of session id and channel instance id would fit the bill.
Throws:
PortalException

setRuntimeData

public void setRuntimeData(ChannelRuntimeData rd,
                           java.lang.String uid)
                    throws PortalException
Throws:
PortalException

receiveEvent

public void receiveEvent(PortalEvent ev,
                         java.lang.String uid)

getRuntimeProperties

public ChannelRuntimeProperties getRuntimeProperties(java.lang.String uid)

renderXML

public void renderXML(org.xml.sax.ContentHandler out,
                      java.lang.String uid)
               throws PortalException
Throws:
PortalException

uPortal 2.4.1
API Documentation