org.jasig.portal
Class ChannelFactory

java.lang.Object
  extended by org.jasig.portal.ChannelFactory

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

@Deprecated
public class ChannelFactory
extends Object

A factory class that produces IChannel instances. This class maintains a lazily-loaded, but permanent cache of channels that implement one of uPortal's multithreaded interfaces, IMultithreadedChannel or one of its variants.

Version:
$Revision: 19776 $
Author:
Peter Kharchenko

Constructor Summary
ChannelFactory()
          Deprecated.  
 
Method Summary
static IChannel instantiateChannel(String className, String uid)
          Deprecated. Produce an IChannel based on a java class name.
static IChannel instantiateLayoutChannel(IUserLayoutChannelDescription description, String sessionId)
          Deprecated. Construct channel instance based on a channel description object.
static IChannel instantiateLayoutChannel(String channelSubscribeId, IUserLayoutManager ulm, String sessionId)
          Deprecated. Instantiate a channel from information supplied by the user layout manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelFactory

public ChannelFactory()
Deprecated. 
Method Detail

instantiateLayoutChannel

public static IChannel instantiateLayoutChannel(String channelSubscribeId,
                                                IUserLayoutManager ulm,
                                                String sessionId)
                                         throws PortalException
Deprecated. 
Instantiate a channel from information supplied by the user layout manager.

Parameters:
channelSubscribeId - a String value
ulm - an IUserLayoutManager value
sessionId - a String HTTP session Id value
Returns:
an IChannel instance
Throws:
PortalException - if an error occurs

instantiateLayoutChannel

public static IChannel instantiateLayoutChannel(IUserLayoutChannelDescription description,
                                                String sessionId)
                                         throws PortalException
Deprecated. 
Construct channel instance based on a channel description object.

Parameters:
description - an IUserLayoutChannelDescription value
sessionId - a String HTTP session Id value
Returns:
an IChannel value
Throws:
PortalException

instantiateChannel

public static IChannel instantiateChannel(String className,
                                          String uid)
                                   throws PortalException
Deprecated. 
Produce an IChannel based on a java class name. If the java class specified implements a channel interface other than org.jasig.portal.IChannel, it will be wrapped by an appropriate adapter class that does implement IChannel.

Parameters:
className - the channel's java class name
uid - a unique ID for use with multithreaded channels
Returns:
an IChannel object
Throws:
PortalException


Copyright © 2010 Jasig. All Rights Reserved.