Alexis Agahi wrote:
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.
Is there any differences? What is the best practice?
Tag to meta-info generation does does not currently look for implementation of ThreadSafe or or other lifestyle marker interfaces. I.e. the lifestyle attribute applies. It could be feasible to add some fallback processing if the lifestyle attribute is undefined - I think Berin did some handling of this sort of thing under the Fortress tag handler.
Stephen.
Regards
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Stephen J. McConnell mailto:[EMAIL PROTECTED] http://www.osm.net
Sent via James running under Merlin as an NT service. http://avalon.apache.org/sandbox/merlin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
