> 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 componen
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?
Thanks again for the help.
Andrew
On Wed, 2002-06-05
> 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
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
To answer my own question for those who might not want to read up on
Avalon before using it. Never mind that that is a stupid idea at the
outset.
Here is a snippet from the documentation:
* org.apache.avalon.framework.thread.SingleThreaded
o Not thread-safe or reusable.
o When no lifestyle in
> From: Andrew Timberlake [mailto:[EMAIL PROTECTED]]
>
> To answer my own question for those who might not want to read up on
> Avalon before using it. Never mind that that is a stupid idea at the
> outset.
:)
> Here is a snippet from the documentation:
> * org.apache.avalon.framework.thread.S