Crossposting to Avalon-dev.
> -----Original Message-----
> From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
> 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.
/LS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]