Hi,

With all the great developments in Merlin lately, you guys must be busy,
so I'll be brief.

If I've not misunderstood, a block is a composition of components, which
can expose the service interfaces of those contained compoennts, and a
component has lifestyle. As a block is a specialisation of component (or
more strictly, appliance)

 - what is the lifestyle for a block? 
 - can I define the lifestyle for a block in the block.xml?

E.g. If a block is implemented by containing thread-safe components,
then I would like to define the block's lifestyle as "thread". If the
block is implemented with (say) singleton components then, the block has
a singleton lifestyle. I guess a default of "transient" would work for
all cases, but the other lifestyles will avoid unnecessary creation of
extra instances.

Thanks for any insight!
Mat McGowan


 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to