Hi all,
I have a custom processor with multiple outputs A, B & C.
B relies on the output of A.
C relies on the output of B & A.
I'm wondering if Orbeon can know about this dependency, or if I have to
take care of it myself ?
Say I define my outputs in the Processor in the order A, B, C, will
Orbeon know that for providing C it must run A & B first ?
Or is the order the generateXXX functions are triggered up to the order
in which the outputs are accessed in the calling pipeline ?
So if C is accessed before A and B, Orbeon will only run the generate
function for C of my processor, thus producing unexpected results if I
don't take care of above stated dependency in my implementation ?
If I have to take care of it, would that mean:
- I need to implement some state in the processor indicating what
has already been done
- depending on the state, trigger the outstanding actions from each
of the generateXXX functions (of course synchronizing these actions, so
that they are only triggered once)
- sharing the state via calls to getState(contexthandler) and
setState(contexthandler, state) in the three generate functions ?
Thanks in advance for any pointers
René
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws