| java.lang.Object org.jasig.portal.ChannelFactory
ChannelFactory | public class ChannelFactory (Code) | | 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.
author: Peter Kharchenko version: $Revision: 36378 $ |
instantiateChannel | public static IChannel instantiateChannel(String className, String uid) throws PortalException(Code) | | 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 Parameters: uid - a unique ID for use with multithreaded channels an IChannel object |
instantiateLayoutChannel | public static IChannel instantiateLayoutChannel(String channelSubscribeId, IUserLayoutManager ulm, String sessionId) throws PortalException(Code) | | Instantiate a channel from information supplied by the user layout manager.
Parameters: channelSubscribeId - a String value Parameters: ulm - an IUserLayoutManager value Parameters: sessionId - a String HTTP session Id value an IChannel instance exception: PortalException - if an error occurs |
instantiateLayoutChannel | public static IChannel instantiateLayoutChannel(IUserLayoutChannelDescription description, String sessionId) throws PortalException(Code) | | Construct channel instance based on a channel description object.
Parameters: description - an IUserLayoutChannelDescription value Parameters: sessionId - a String HTTP session Id value an IChannel value |
|
|