Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-07

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

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

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

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

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-07