cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinh...@apache.org>
Subject Calling pipelines in Cron-jobs - please review
Date Fri, 19 Dec 2003 10:11:22 GMT

Recently I've checked in a BackgroundEnvironment into our scratchpad.
This is necessary for pipeline calls within cron jobs. I've implemented
a cron job as abstract class which provides a process method that
returns the content of the pipeline call as InputStream:

http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/cron/java/org/ap
ache/cocoon/components/cron/AbstractPipelineCallingCronJob.java?view=mar
kup


As I'm not the specialist for these Cocoon internals consider this code
as first draft ;-)
Could somebody more knowledgeable review it and improve it. If you want
to test the example just check-out the cron sample which has been
extended by a pipeline call. 

Thanks in advance!

--
Reinhard


Mime
View raw message