public interface WorkContext
WorkContextis a marker interface used for marshaling and unmarshaling user data in a
WorkArea. The interfaces
WorkContextInputwill only allow primtive types and objects implementing
WorkContextto be marshaled. This limits the type surface area that needs to be dealt with by underlying protocols.
WorkContextis analogous to
Externalizablebut with some restrictions on the types that can be marshaled. Advanced
Externalizablefeatures, such as enveloping, are not supported - implementations should provide their own versioning scheme if necessary.
WorkContextimplementations must provide a public no-arg constructor.
|Modifier and Type||Method and Description|
Reads the implementation of
Writes the implementation of
void writeContext(WorkContextOutput out) throws java.io.IOException