Re: [cocoon3] why setup()?

2012-03-30 Thread Simone Tripodi
Hi mate, IIRC, but I could be wrong, the reason is more historical than real need, to make APIs elastic enough for both Sitemap/programmatic executions. Anyway, there are still some things I contine getting confused about the APIs, but I'll discuss them in a separated thread. Thanks a lot for

[cocoon3] why setup()?

2012-03-29 Thread Christian Grobmeier
Hello folks, I was looking at cocoon3 Pipeline interface. I saw: setup(OutputStream outputStream) setup(OutputStream outputStream, MapString,Object parameters) It seem one always needs to call setup() (which makes sense). But why is there a method like this? Couldn't it be the execute method