|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.ChannelRendererFactoryImpl
public final class ChannelRendererFactoryImpl
The ChannelRendererFactoryImpl
creates
IChannelRenderer
objects which use a bounded thread pool.
Field Summary | |
---|---|
private static edu.emory.mathcs.backport.java.util.concurrent.ExecutorService |
cSharedThreadPool
Shared thread pool for all factories. |
private static org.apache.commons.logging.Log |
log
|
private edu.emory.mathcs.backport.java.util.concurrent.ExecutorService |
mThreadPool
Thread pool per factory. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RCS_ID
Class version identifier.
private static final org.apache.commons.logging.Log log
private edu.emory.mathcs.backport.java.util.concurrent.ExecutorService mThreadPool
Thread pool per factory.
private static edu.emory.mathcs.backport.java.util.concurrent.ExecutorService cSharedThreadPool
Shared thread pool for all factories.
Constructor Detail |
---|
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.
keyBase
- configuration base key
or null
Method Detail |
---|
public IChannelRenderer newInstance(IChannel channel, ChannelRuntimeData channelRuntimeData)
Creates a new instance of a channel renderer object.
newInstance
in interface IChannelRendererFactory
channel
- channel to renderchannelRuntimeData
- runtime data for the channel to render
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |