<get-user-facing-payload>
Extract and deserialize the entry payload.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
name |
|
(required) |
name of variable to assign result to |
global |
|
false |
assign to global frame |
declare |
|
true |
declare variable name rather than assign to previously declared name in scope |
Elements
TAG |
TYPE |
COUNT |
DESCRIPTION |
---|---|---|---|
|
1:1 |
entry object to be accessed for payload |
NOTES
- If the
<entry>
's payloadType field isnull
, the type of the payload will be assumed to bencsa.tools.common.types.Configuration
. - It is advisable always to set
<entry>
's extensionPoint; otherwise construction of the object is not guaranteed to work if running in ELF (tspace-write
attempts to do this automatically via theTspaceEntryWrapper
).
Examples
<tspace-take block="false" serviceUri="http://otfrid.ncsa.uiuc.edu:8080/vizier.tspace/services/TupleSpace" name="tuple" declare="true" max="1"> <match-request typeValue0="test" producer="AL" /> </tspace-take> <echo message="tuple is:" /> <echo message="${tuple}" /> <get-user-facing-payload name="config" declare="true" entry="${tuple}"/> <echo message="config is:" /> <echo message="${config}" />