public interface PrimitiveWorkContext extends WorkContext
PrimitiveWorkContext
is a marker interface used for
marshaling and unmarshaling primitive user data in a
WorkArea
. PrimitiveWorkContext
s contain
only a single data item that can be accessed via
PrimitiveWorkContext.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 and Description |
---|---|
Object |
get()
Returns the data associated with this
PrimitiveWorkContext . |
readContext, writeContext
Object get()
PrimitiveWorkContext
.