uPortal 2.4.1
API Documentation

org.jasig.portal
Class ChannelRendererFactoryImpl

java.lang.Object
  extended byorg.jasig.portal.ChannelRendererFactoryImpl
All Implemented Interfaces:
IChannelRendererFactory

public final class ChannelRendererFactoryImpl
extends java.lang.Object
implements IChannelRendererFactory

The ChannelRendererFactoryImpl creates IChannelRenderer objects which use a bounded thread pool.

Version:
$Revision: 1.4 $
Author:
Jan Nielsen

Field Summary
static java.lang.String RCS_ID
           Class version identifier.
 
Constructor Summary
ChannelRendererFactoryImpl(java.lang.String keyBase)
          Creates a new instance of a bounded thread pool channel renderer factory object.
 
Method Summary
 IChannelRenderer newInstance(IChannel channel, ChannelRuntimeData channelRuntimeData)
          Creates a new instance of a channel renderer object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID

Class version identifier.

See Also:
Constant Field Values
Constructor Detail

ChannelRendererFactoryImpl

public ChannelRendererFactoryImpl(java.lang.String keyBase)

Creates a new instance of a bounded thread pool channel renderer factory object. The constructor should not be invoked directly; it should only be constructed by the ChannelRendererFactory object.

This factory implooks for the properties:


  keyBase + ".threadPool_initialThreads"
  keyBase + ".threadPool_maxThreads"
  keyBase + ".threadPool_threadPriority"
  keyBase + ".threadPool_shared"
 
in the configuration system and then reflectively constructs the factory class with the default (no-argument) constructor.

Parameters:
keyBase - configuration base key or null
Method Detail

newInstance

public IChannelRenderer newInstance(IChannel channel,
                                    ChannelRuntimeData channelRuntimeData)

Creates a new instance of a channel renderer object.

Specified by:
newInstance in interface IChannelRendererFactory
Parameters:
channel - channel to render
channelRuntimeData - runtime data for the channel to render
Returns:
new instance of a channel renderer for the specified channel

uPortal 2.4.1
API Documentation