Hi Jakob, I think this is a great idea, (because) I need it in several areas as well. Could you expand a little bit more on how to configure the listeners and what their interface should/could look like. This might then help to convince others that listeners are usefull in some scenarios.
Thanks Carsten Carsten Ziegeler Open Source Group, S&N AG > -----Original Message----- > From: Jakob Praher [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 10:59 AM > To: [EMAIL PROTECTED] > Subject: processing (lifecycle) events > > > hi all, > > it would be somehow great, to get notified, when Cocoon.process, starts > and finishes its work. > > I need to acquire resources for a processing phase and then would like > to automatically release it at processing end. > > Is there a clean way to do this now (having looked at the sources, I > haven't found something, but maybe I overlooked it ... ) > > I could imagine doing it using a fake action or other sitemap component > (that implements dispoable), that will loaded on every processing phase, > but it is a little bit dirty ... . > > doing it like the 2.3 servlet listeners, would be a cleaner way: > > <map:listener event="processing" src="...." /> > > thanks for your help > > -- Jakob > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]