Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

weblogic.workarea
Class StringWorkContext

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

public class StringWorkContext
extends Object
implements PrimitiveWorkContext, Serializable

An implementation for propagating simple string-based WorkContexts.

See Also:
Serialized Form

Constructor Summary
StringWorkContext()
           
 
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

StringWorkContext

public StringWorkContext()
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

Copyright 1996, 2011, 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
12c Release 1 (12.1.1)

Part Number E24391-02