Hi,
I'm a little bit confused when using (Avalon/Merlin) component lifestyle.
Is it still necessary to have a component implementing 'ThreadSafe' when using @avalon.component lifestyle="singleton"
declaration?
Same for 'SingleThreaded' & lifestyle="thread" etc.
No. In containers that can read the @avalon.component declaration the interface is generally ignored.
Is there any differences?
The ThreadSafe interface is only needed for the ECM which is deprecated.
What is the best practice?
Go with just the meta-info.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
