|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.ChannelFactory
@Deprecated public class ChannelFactory
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.
| 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 |
|---|
public ChannelFactory()
| Method Detail |
|---|
public static IChannel instantiateLayoutChannel(String channelSubscribeId,
IUserLayoutManager ulm,
String sessionId)
throws PortalException
channelSubscribeId - a String valueulm - an IUserLayoutManager valuesessionId - a String HTTP session Id value
IChannel instance
PortalException - if an error occurs
public static IChannel instantiateLayoutChannel(IUserLayoutChannelDescription description,
String sessionId)
throws PortalException
description - an IUserLayoutChannelDescription valuesessionId - a String HTTP session Id value
IChannel value
PortalException
public static IChannel instantiateChannel(String className,
String uid)
throws PortalException
org.jasig.portal.IChannel, it will be wrapped by an
appropriate adapter class that does implement IChannel.
className - the channel's java class nameuid - a unique ID for use with multithreaded channels
IChannel object
PortalException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||