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

Part Number E13941-04

weblogic.workarea
Class SerializableWorkContext

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

public class SerializableWorkContext
extends Object
implements PrimitiveWorkContext, Serializable

An implementation for propagating Serializable WorkContexts.

See Also:
Serialized Form

Constructor Summary
SerializableWorkContext()
           
 
Method Summary
 boolean equals(Object obj)
           
 Object get()
          Returns the data associated with this PrimitiveWorkContext.
 Serializable getSerializable()
           
 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

SerializableWorkContext

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

getSerializable

public Serializable getSerializable()
                             throws IOException,
                                    ClassNotFoundException
Throws:
IOException
ClassNotFoundException

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, 2010, 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.4)

Part Number E13941-04