org.jasig.portal
Class StandaloneChannelRenderer

java.lang.Object
  extended by org.jasig.portal.channels.BaseChannel
      extended by org.jasig.portal.StandaloneChannelRenderer
All Implemented Interfaces:
IChannel
Direct Known Subclasses:
CSelectSystemProfile

Deprecated. IChannel rendering code will be replaced with portlet specific rendering code in a future release

@Deprecated
public class StandaloneChannelRenderer
extends BaseChannel

StandaloneChannelRenderer is meant to be used as a base class for channels that might be rendered outside of the standard user-layout driven scheme. (for example CSelectSystemProfile).

Version:
$Revision: 19776 $
Author:
Peter Kharchenko pkharchenko@interactivebusiness.com"

Field Summary
static AtomicLong activeRenderers
          Deprecated.  
static AtomicLong maxRenderThreads
          Deprecated.  
 
Fields inherited from class org.jasig.portal.channels.BaseChannel
runtimeData, staticData
 
Constructor Summary
StandaloneChannelRenderer()
          Deprecated.  
 
Method Summary
 void initialize(Hashtable params, String channelName, boolean hasHelp, boolean hasAbout, boolean hasEdit, long timeOut, IPerson person)
          Deprecated. Initializes the channel and calls setStaticData() on the channel.
 void prepare(HttpServletRequest req)
          Deprecated. This request will cause setRuntimeData() method called on the channel.
 void render(HttpServletRequest req, HttpServletResponse res)
          Deprecated. This method will output channel content into the HttpServletResponse's out stream.
 
Methods inherited from class org.jasig.portal.channels.BaseChannel
getRuntimeProperties, receiveEvent, renderXML, setRuntimeData, setStaticData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

activeRenderers

public static final AtomicLong activeRenderers
Deprecated. 

maxRenderThreads

public static AtomicLong maxRenderThreads
Deprecated. 
Constructor Detail

StandaloneChannelRenderer

public StandaloneChannelRenderer()
Deprecated. 
Method Detail

initialize

public void initialize(Hashtable params,
                       String channelName,
                       boolean hasHelp,
                       boolean hasAbout,
                       boolean hasEdit,
                       long timeOut,
                       IPerson person)
                throws PortalException
Deprecated. 
Initializes the channel and calls setStaticData() on the channel.

Parameters:
params - a hastable of channel publish/subscribe parameters ( elements
channelName - channel name
hasHelp - determines if the channel supports "help" layout event
hasAbout - determines if the channel supports "about" layout event
hasEdit - determines if the channel supports "edit" layout event
timeOut - channel timeout value in milliseconds
person - a user IPerson object
Throws:
PortalException

prepare

public void prepare(HttpServletRequest req)
             throws Exception
Deprecated. 
This request will cause setRuntimeData() method called on the channel. If this method is invoked, the render() method, which usually invokes setRuntimeData() method will omit the call.

Parameters:
req - http request
Throws:
Exception

render

public void render(HttpServletRequest req,
                   HttpServletResponse res)
            throws Throwable
Deprecated. 
This method will output channel content into the HttpServletResponse's out stream. Note that setRuntimeData() method is called only if there was no prior call to prepare() method.

Parameters:
req - http request
res - http response
Throws:
Throwable


Copyright © 2010 Jasig. All Rights Reserved.