|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.ChannelFactory
A factory class that produces IChannel
instances.
Field Summary | |
static java.util.Hashtable |
staticChannels
|
Constructor Summary | |
ChannelFactory()
|
Method Summary | |
static IChannel |
instantiateChannel(java.lang.String className,
java.lang.String uid)
Produce an IChannel based on a java class name. |
static IChannel |
instantiateLayoutChannel(IUserLayoutChannelDescription description,
java.lang.String sessionId)
Construct channel instance based on a channel description object. |
static IChannel |
instantiateLayoutChannel(java.lang.String channelSubscribeId,
IUserLayoutManager ulm,
java.lang.String sessionId)
Instantiate a channel from information supplied by the user layout manager. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.util.Hashtable staticChannels
Constructor Detail |
public ChannelFactory()
Method Detail |
public static IChannel instantiateLayoutChannel(java.lang.String channelSubscribeId, IUserLayoutManager ulm, java.lang.String sessionId) throws PortalException
channelSubscribeId
- a String
valueulm
- an IUserLayoutManager
valuesessionId
- a String
HTTP session Id value
IChannel
instance
PortalException
- if an error occurspublic static IChannel instantiateLayoutChannel(IUserLayoutChannelDescription description, java.lang.String sessionId) throws PortalException
description
- an IUserLayoutChannelDescription
valuesessionId
- a String
HTTP session Id value
IChannel
value
PortalException
public static IChannel instantiateChannel(java.lang.String className, java.lang.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
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |