| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface WorkContext
WorkContext is a marker interface used for marshaling
 and unmarshaling user data in a WorkArea. The
 interfaces WorkContextOutput and
 WorkContextInput will only allow primtive types and
 objects implementing WorkContext to be marshaled. This
 limits the type surface area that needs to be dealt with by
 underlying protocols. WorkContext is analogous to
 Externalizable but with some restrictions on the types
 that can be marshaled. Advanced Externalizable
 features, such as enveloping, are not supported - implementations
 should provide their own versioning scheme if
 necessary. WorkContext implementations must provide a
 public no-arg constructor.
| Method Summary | |
|---|---|
|  void | readContext(WorkContextInput in)Reads the implementation of WorkContextfrom theWorkContextInputdata stream. | 
|  void | writeContext(WorkContextOutput out)Writes the implementation of WorkContextto theWorkContextOutputdata stream. | 
| Method Detail | 
|---|
void writeContext(WorkContextOutput out)
                  throws IOException
WorkContext to the
 WorkContextOutput data stream.
IOException
void readContext(WorkContextInput in)
                 throws IOException
WorkContext from the
 WorkContextInput data stream.
IOException| 
 | Copyright 1996, 2013, 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 Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||