avalon-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:10:08 GMT
Crossposting to Avalon-dev.

> -----Original Message-----
> From: Gerhard Froehlich [mailto:g-froehlich@gmx.de]
> Sent: den 13 september 2001 16:52
> To: cocoon-Dev
> Subject: [c2] Implementation advice needed!
> How can I implement with Avalon such singelton classes?

You can't.

While you can implement the ThreadSafe interface, there is nothing it its
contract that requires the component manager to make it a singleton.

Your best bet is to use the component as an adapter for a static singleton
instance, or use it to lookup the janitor service object via JNDI.


To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org

View raw message