Gary Shea wrote:

If I understand the way pooling should work, I can inform merlin in the
Type specification that a particular component should have a pooled
lifestyle.  What I'm not finding is a way to tell it what ObjectFactory
to use.  Is this a reasonable desire, or am I missing something?

You don't need to declare a factory, just the lifestyle policy. The following type declaration within a component .xinfo file shows the usage of a pooled lifestyle policy.

<type>

<info>
<name>demonstratable</name>
<attributes>
<attribute key="avalon:lifestyle" value="pooled"/>
</attributes>
</info>

<!-- other stuff -->

</type>

Possible lifestyle parameter values include ~"pooled", "thread", "transient", and singleton". More inforation about the respective policies in inlcuded at the end of the page on the following link:

http://jakarta.apache.org/avalon/excalibur/container/attributes.html

Cheers, Steve.



	Gary


--
To unsubscribe, e-mail:   <mailto:avalon-users-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-users-help@;jakarta.apache.org>



--

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@;osm.net
http://www.osm.net




--
To unsubscribe, e-mail:   <mailto:avalon-users-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-users-help@;jakarta.apache.org>

Reply via email to