|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.channels.BaseMultithreadedChannel
@Deprecated public abstract class BaseMultithreadedChannel
A base class from which channels implementing IMultithreadedChannel interface can be derived. Use this only if you are familiar with the IMultithreadedChannel interface. Channels that extend BaseMultithreadedChannel typically only need to override the renderXML method and should not contain any non-static member variables.
| Nested Class Summary | |
|---|---|
protected class |
BaseMultithreadedChannel.ChannelState
Deprecated. The channel's state including the static data, runtime data, portal event, and a channelData map which is analagous to the session for a servlet - the channel can stash objects in it. |
| Field Summary | |
|---|---|
protected static Map |
channelStateMap
Deprecated. |
protected org.apache.commons.logging.Log |
log
Deprecated. A Commons Logging log instance which will log as the runtime class extending this BaseChannel. |
| Constructor Summary | |
|---|---|
BaseMultithreadedChannel()
Deprecated. |
|
| Method Summary | |
|---|---|
ChannelRuntimeProperties |
getRuntimeProperties(String uid)
Deprecated. Sets channel runtime properties. |
void |
receiveEvent(PortalEvent ev,
String uid)
Deprecated. React to portal events. |
void |
renderXML(ContentHandler out,
String uid)
Deprecated. Render nothing. |
void |
setRuntimeData(ChannelRuntimeData rd,
String uid)
Deprecated. Sets the channel runtime data. |
void |
setStaticData(ChannelStaticData sd,
String uid)
Deprecated. Sets the channel static data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Map channelStateMap
protected org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public BaseMultithreadedChannel()
| Method Detail |
|---|
public ChannelRuntimeProperties getRuntimeProperties(String uid)
getRuntimeProperties in interface IMultithreadedChanneluid - a unique ID used to identify the state of the channel
public void receiveEvent(PortalEvent ev,
String uid)
receiveEvent in interface IMultithreadedChannelev - a portal eventuid - a unique ID used to identify the state of the channel
public void setStaticData(ChannelStaticData sd,
String uid)
throws PortalException
setStaticData in interface IMultithreadedChannelsd - the channel static datauid - a unique ID used to identify the state of the channel
PortalException
public void setRuntimeData(ChannelRuntimeData rd,
String uid)
throws PortalException
setRuntimeData in interface IMultithreadedChannelrd - the channel runtime datauid - a unique ID used to identify the state of the channel
PortalException
public void renderXML(ContentHandler out,
String uid)
throws PortalException
renderXML in interface IMultithreadedChannelout - the content handler to which the channel sends SAX eventsuid - a unique ID used to identify the state of the channel
PortalException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||