WorkContextAsciiWorkContext, LongWorkContext, SerializableWorkContext, StringWorkContextpublic interface PrimitiveWorkContext extends WorkContext
PrimitiveWorkContext is a marker interface used for
marshaling and unmarshaling primitive user data in a
WorkArea. PrimitiveWorkContexts contain
only a single data item that can be accessed via
get(). They are provided, not only as a
convenience, but because they can be passed between servers without
users needing to provide a WorkContext implementation
on the target. PrimitiveWorkContext implementations
must provide a public no-arg constructor.| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
get() |
Returns the data associated with this
PrimitiveWorkContext. |
readContext, writeContext