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:[EMAIL PROTECTED]] > > > > 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:[EMAIL PROTECTED]] > > > > Sent: Wednesday, June 05, 2002 10:40 AM > > > > To: [EMAIL PROTECTED] > > > > 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: <[EMAIL PROTECTED]> > > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > > > -- > > Andrew Timberlake > > Digital Design Development > > http://www.ddd.co.za > > mailto:[EMAIL PROTECTED] > > 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: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>