cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chitharanjan Das" <>
Subject RE: Urgent: Execution of pipeline at startup
Date Mon, 04 Mar 2002 23:58:40 GMT
Thank you for your quick response.

After going thru the components information , sitemap basically consists
of information regarding components and pipelines.

I have designed a Component, which basically extends
org.apache.avalon.framework.component.Component and as you specified it
has I have embedded the logic in start() and run() methods..

The questions I have is
1. How do I register this components, currently in the sitemap, the
components defined are generators, transformers, serializers, actions,
selectors and readers?

Could you please briefly explain as how to register my component in the

2. The only method which is defined in the Component interface is a log
method. Which class/interface should I extend so that the particular
method (which will iunvoke my start())gets invoked during startup.

I hope I am clear...

Thanks for your information in advance,

-----Original Message-----
From: Vadim Gritsenko [] 
Sent: Saturday, March 02, 2002 7:51 AM
To: 'Chitharanjan Das'
Subject: RE: Urgent: Execution of pipeline at startup

You could write own ThreadSafe, Runnable, Startable Component. It will
be loaded and started automatically on Cocoon startup. You can do
whatever you want in the start() or run() methods.


> -----Original Message-----
> From: Chitharanjan Das []
> Sent: Saturday, March 02, 2002 2:05 AM
> To:
> Subject: Urgent: Execution of pipeline at startup
> Hello,
> 	I had raised this issue earlier...
> Please confirm if this is possible at all.
> I need to cache some data structures and some schema elements.
> Is there a way to execute a pipeline or any other possibilities to
> the information at COCOON'S startup.
> Currently, I am performing this caching at first access.
> I would surely like to cache the information at startup, rather than
> first access...
> Could any of you please provide an approach and if already
> please share the implementation.
> Regds,
> Chiths

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message