|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.channels.BaseChannel
org.jasig.portal.channels.iccdemo.CURLSelector
public class CURLSelector
A url selector channel (part of the Inter-channel communication demo).
Field Summary | |
---|---|
private static java.lang.String |
historyFname
|
private static org.apache.commons.logging.Log |
log
|
private static java.lang.String |
sslLocation
|
private boolean |
usingRenderingGroups
|
private static java.lang.String |
viewerFname
|
Fields inherited from class org.jasig.portal.channels.BaseChannel |
---|
runtimeData, staticData |
Constructor Summary | |
---|---|
CURLSelector()
|
Method Summary | |
---|---|
private void |
deRegisterListeners()
A utility method to remove a veriwer channel as a listener of this channel. |
private java.lang.Object |
getBoundObject(java.lang.String channelSubscribeId)
A utility method to determine an object bound to the "chan-obj" branch for a particular channel id. |
private java.lang.String |
getChannelId(java.lang.String fname)
A utility method for obtaining a channelSubscribeId given a channel fname |
private org.w3c.dom.Document |
getUserXML()
|
private void |
registerListeners()
A utility method to register viewer channel as listeners of the current channel Note that we're only registering viewer channel as a listener, since CURLSelector does not talk to CHistory directly (CViewer handles that) |
void |
renderXML(org.xml.sax.ContentHandler out)
Render method. |
void |
setRuntimeData(ChannelRuntimeData rd)
Passes ChannelRuntimeData to the channel. |
void |
setStaticData(ChannelStaticData sd)
Passes ChannelStaticData to the channel. |
private void |
setViewerURL(java.lang.String url)
A utility method that communicates the new url to the viewer channel |
Methods inherited from class org.jasig.portal.channels.BaseChannel |
---|
getRuntimeProperties, receiveEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private static final java.lang.String sslLocation
private static final java.lang.String viewerFname
private static final java.lang.String historyFname
private boolean usingRenderingGroups
Constructor Detail |
---|
public CURLSelector()
Method Detail |
---|
public void setStaticData(ChannelStaticData sd) throws PortalException
IChannel
setStaticData
in interface IChannel
setStaticData
in class BaseChannel
sd
- channel static data
PortalException
ChannelStaticData
private void registerListeners()
private void deRegisterListeners()
private org.w3c.dom.Document getUserXML()
public void setRuntimeData(ChannelRuntimeData rd) throws PortalException
IChannel
setRuntimeData
in interface IChannel
setRuntimeData
in class BaseChannel
rd
- channel runtime data
PortalException
ChannelRuntimeData
private void setViewerURL(java.lang.String url)
url
- a String
valueprivate java.lang.String getChannelId(java.lang.String fname)
fname
- a String
value
null
if no channel with given fname was foundprivate java.lang.Object getBoundObject(java.lang.String channelSubscribeId)
channelSubscribeId
- a String
value of the channel who's object we're looking for
Object
value bound to that jndi location (or null
if channel didn't bind anything)public void renderXML(org.xml.sax.ContentHandler out) throws PortalException
renderXML
in interface IChannel
renderXML
in class BaseChannel
out
- the content handler
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |