Believe it or not the new portlet adapter channel for pluto 1.1 will be the first channel I've ever written. To that end I want to make sure I have some things figured out correctly.

The channel implements the IPortletAdapter, ICharacterChannel, IPrivilegedChannel and ICacheable interfaces. From what I've seen the following method call ordering is what I should expect for each type of event targeting a channel:

init
   setStaticData

render
   setPortalControlStructures
   setRuntimeData
   generateKey
   isCacheValid
   renderCharacters

action //This doesn't exist yet but will be added to the IPortletAdapter interface
   setPortalControlStructures
   setRuntimeData
   doAction

event
setPortalControlStructures //This call doesn't happen before receiveEvent currently but the change will be made in the framework to ensure it does
   receiveEvent


If those are correct, does it seem valid to clear out references to the ChannelRuntimeData and PortalControlStructures at the end of the renderCharacters, doAction and receiveEvent methods?

Thanks,
-Eric

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to