First, let me describe in abstract terms my use case:
I have several "resources" which I need to retrieve (by URI). I'm using Ognl to describe the URI of these resources.
Some of the resource URI's might be dependent on content in other resources. I'd like to be able to set up my own queuing mechanism which will put on hold any such dependent URI until the resource is retrieved.
Right now, the Ognl expression is evaluated using the Java stack, which makes it extremely difficult to "pause" an expression.
It would be nice if the expression state could be externalized and run iteratively instead of recursively.