BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.workarea
Interface WorkContextOutput

All Superinterfaces:
DataOutput

public interface WorkContextOutput
extends DataOutput

WorkConectOutput is a primitive stream used for marshaling WorkContext implementations. It is necessary to limit the types that can be marshaled as part of a WorkArea so that efficient representations can be implemented in a variety of protocols. This representation can also be transparent, enabling runtime filtering in SOAP and other protocols.

See Also:
WorkContextInput
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Method Summary
 void writeASCII(String s)
          Writes an 8-bit, variable-length, string to the underlying data stream.
 void writeContext(WorkContext ctx)
          Writes the implementation of WorkContext to the underlying data stream.
 
Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 

Method Detail

writeASCII

public void writeASCII(String s)
                throws IOException
Writes an 8-bit, variable-length, string to the underlying data stream. This is analgous to DataOutput.writeBytes(java.lang.String) but the length of the string is also encoded.

Throws:
IOException

writeContext

public void writeContext(WorkContext ctx)
                  throws IOException
Writes the implementation of WorkContext to the underlying data stream. The actual class is encoded in the stream so that remote java implementations can decode it.

Throws:
IOException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.