cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Timberlake <and...@timberlake.co.za>
Subject RE: Run once code?
Date Wed, 05 Jun 2002 20:31:51 GMT
Vadim

Configurable didn't help. I added ThreadSafe and then it worked.
I'm new to Avalon. Does this allow it to be created globally instead of
as it is needed maybe?

Andrew

On Wed, 2002-06-05 at 21:50, Vadim Gritsenko wrote:
> > From: Andrew Timberlake [mailto:andrew@timberlake.co.za]
> > 
> > Vadim
> > 
> > I have created a component and it seems to be identified and loaded in
> > core.log
> > The initialize method is not called.
> > I have only implemented Initializable and no other work interfaces.
> > Is this correct?
> > Should I be doing something else?
> 
> Implement Component also. If does not help... But it should work... Add
> Configurable.
> 
> Vadim
> 
> 
> > Thanks again for the help.
> > 
> > Andrew
> > 
> > On Wed, 2002-06-05 at 18:00, Vadim Gritsenko wrote:
> > > > From: Andrew Timberlake [mailto:andrew@timberlake.co.za]
> > > > Sent: Wednesday, June 05, 2002 10:40 AM
> > > > To: cocoon-users@xml.apache.org
> > > > Subject: Run once code?
> > > >
> > > > Is there a place in cocoon to invoke run-once code such as a
> singleton
> > > > class which handles initialization?
> > >
> > > You could write Initializable component and register it in the
> > > cocoon.xconf.
> > >
> > > See .hsqldb.ServerImpl as example.
> > >
> > > Vadim
> > >
> > > >
> > > > TIA
> > > >
> > > > Andrew
> > > >
> > > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > >
> > > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> > >
> > >
> > --
> > Andrew Timberlake
> > Digital Design Development
> > http://www.ddd.co.za
> > mailto:andrew@ddd.co.za
> > 011 705 1737
> > 082 415 8283
> > 
> > "If debugging is the process of removing bugs,
> > then programming must be the process of putting them in."
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message