org.jasig.portal
Class ChannelRendererFactoryImpl

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

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

@Deprecated
public final class ChannelRendererFactoryImpl
extends Object
implements IChannelRendererFactory

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

Version:
$Revision: 19776 $
Author:
Jan Nielsen

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

Field Detail

RCS_ID

public static final String RCS_ID
Deprecated. 

Class version identifier.

See Also:
Constant Field Values
Constructor Detail

ChannelRendererFactoryImpl

public ChannelRendererFactoryImpl(String keyBase,
                                  AtomicLong activeThreads,
                                  AtomicLong maxActiveThreads)
Deprecated. 

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)
Deprecated. 

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


Copyright © 2010 Jasig. All Rights Reserved.