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

Part Number E13941-04

weblogic.workarea
Class LongWorkContext

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

public class LongWorkContext
extends Object
implements PrimitiveWorkContext, Serializable

An implementation for propagating simple long-based WorkContexts.

See Also:
Serialized Form

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

LongWorkContext

public LongWorkContext()
Method Detail

get

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

Specified by:
get in interface PrimitiveWorkContext

toString

public String toString()
Overrides:
toString in class Object

equals

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

longValue

public long longValue()

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