cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <>
Subject RE: [c2] Implementation advice needed!
Date Sun, 02 Sep 2001 15:10:08 GMT
Crossposting to Avalon-dev.

> -----Original Message-----
> From: Gerhard Froehlich []
> 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:
For additional commands, email:

View raw message