> -----Original Message-----
> From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
> Sent: den 13 september 2001 17:42
> To: [EMAIL PROTECTED]
> Subject: AW: [c2] Implementation advice needed!
>
>
> That's not the problem. When two Components looking up one Component, the
> looked up Component is configured twice. I'm creating a Thread in
> the configure
> method of this component. And this Thread is created twice. So
> I've to check if this
> thread already exists or something else. I don't know...

What you describe is a violation of the Avalon component lifecycle contract.
Configure is supposed to be called *once* for each instance.

Are you sure your component isn't used in two different component managers?

/LS


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to