Sylvain Wallez wrote:

[...]

Now what about adding a "disposeObject" on "cocoon" that would be the counterpart of "setupObject"? It would call it's dispose() method if it implements the Disposable interface.

Yes, this idea came into my mind too (it would be strange if not the full lifecycle handling was supported).

We'll end up with 3 new methods on "cocoon":
- setupObject(object),
- createObject(classname) (or summon, new, instanciate)
- disposeObject(object).

What do you think?

That would definitely simplify Flowscript development.


-- Andreas



Reply via email to