cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject RE: [c2] Implementation advice needed!
Date Sun, 02 Sep 2001 15:52:11 GMT


> -----Original Message-----
> From: Gerhard Froehlich [mailto:g-froehlich@gmx.de]
> Sent: den 13 september 2001 17:42
> To: cocoon-dev@xml.apache.org
> 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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message