Oracle

weblogic.workarea
Class AsciiWorkContext

java.lang.Object
  extended by weblogic.workarea.AsciiWorkContext
All Implemented Interfaces:
Serializable, PrimitiveWorkContext, WorkContext

public class AsciiWorkContext
extends Object
implements PrimitiveWorkContext, Serializable

An implementation for propagating simple 8-bit ASCII string-based WorkContexts.

See Also:
Serialized Form

Constructor Summary
AsciiWorkContext()
           
 
Method Summary
 boolean equals(Object obj)
           
 Object get()
          Returns the data associated with this PrimitiveWorkContext.
 void readContext(WorkContextInput in)
          Reads the implementation of WorkContext from the WorkContextInput data stream.
 String toString()
           
 void writeContext(WorkContextOutput out)
          Writes the implementation of WorkContext to the WorkContextOutput data stream.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsciiWorkContext

public AsciiWorkContext()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

get

public Object get()
Description copied from interface: PrimitiveWorkContext
Returns the data associated with this PrimitiveWorkContext.

Specified by:
get in interface PrimitiveWorkContext

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

writeContext

public void writeContext(WorkContextOutput out)
                  throws IOException
Description copied from interface: WorkContext
Writes the implementation of WorkContext to the WorkContextOutput data stream.

Specified by:
writeContext in interface WorkContext
Throws:
IOException

readContext

public void readContext(WorkContextInput in)
                 throws IOException
Description copied from interface: WorkContext
Reads the implementation of WorkContext from the WorkContextInput data stream.

Specified by:
readContext in interface WorkContext
Throws:
IOException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs103
Copyright 1996,2008, 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.