Hi,
How exactly is an execution state of a process instance persisted?
saveState() in the BpelRuntimeContextImpl class seems to store it with
the help of the RuntimeInstanceImpl class in the soup.
public Object saveState(OutputStream bos) throws IOException {
if (bos != null) _soup.write(bos);
return _soup;
}
I want to serialize the state in the management api. The only way I
can retrieve it there is by getting it as a ByteArrayOutputStream. Is
there a way to get the execution state in a more structured way? I was
thinking of using XStream to serialize that.
Cheers,
Andi