uPortal 2.4.1
API Documentation

org.jasig.portal
Class ChannelRendererFactory

java.lang.Object
  extended byorg.jasig.portal.ChannelRendererFactory

public final class ChannelRendererFactory
extends java.lang.Object

The ChannelRendererFactory creates IChannelRendererFactory objects which are used to construct IChannelRenderer objects with implementation specific parameters.

This factory design is motivated by the need for different kinds of IChannelRenderer implementations including single-threaded serial channel renderers, multi-threaded parallel channel renderers, and thread-pool serial/parallel channel renderers.

Version:
$Revision: 1.4 $
Author:
Jan Nielsen

Field Summary
static java.lang.String RCS_ID
           Class version identifier.
 
Constructor Summary
ChannelRendererFactory()
           
 
Method Summary
static IChannelRendererFactory newInstance(java.lang.String keyBase)
          Creates a new instance of a channel renderer factory 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

ChannelRendererFactory

public ChannelRendererFactory()
Method Detail

newInstance

public static final IChannelRendererFactory newInstance(java.lang.String keyBase)

Creates a new instance of a channel renderer factory object. This factory looks for the property keyBase + ".factoryClassName" in the configuration system and then reflectively constructs the factory class with a single string argument constructor, passing in the keyBase as the argument.

Parameters:
keyBase - configuration base key
Returns:
new instance of a channel renderer for the specified channel, or null

uPortal 2.4.1
API Documentation