01: /* Copyright 2003 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal;
07:
08: import java.io.PrintWriter;
09:
10: /**
11: * A multithreaded version of a {@link ICharacterChannel}.
12: * @author Peter Kharchenko {@link <a href="mailto:pkharchenko@interactivebusiness.com"">pkharchenko@interactivebusiness.com"</a>}
13: * @author <a href="mailto:nbolton@unicon.net">Nick Bolton</a>
14: * @version $Revision: 36690 $
15: *
16: * @deprecated Use the IChannel* interfaces instead or write a portlet. For more information see:
17: * http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IMultithreaded+Interfaces
18: */
19: public interface IMultithreadedCharacterChannel extends
20: IMultithreadedChannel {
21: /**
22: * Asks the channel to render its content as characters.
23: * The method has the same call precedence as the IChannel.renderXML() method.
24: * (i.e. if the channel also supports ICacheable, portal will try to find a cache entry prior calling this method)
25: * @param pw a <code>PrintWriter</code> value into which the character output should be directed
26: * @param uid a <code>String</code> identifying the "instance" being served
27: * @exception PortalException if an error occurs
28: */
29: public void renderCharacters(PrintWriter pw, String uid)
30: throws PortalException;
31: }
|