On Wed, 2002-12-11 at 06:32, David Worms wrote:
> I was just wondering if phoenix does support some of the lifestyle 
> handlers (singleton, thread, pool, transient)?

nope.

> If so, where is it configured:), otherwise, is the lifestyle 
> integration planned in the near future?

nope (as in: probably not likely for the real near future).

Phoenix-hosted components are usually a bit more 'coarse-grained' than
the ones in ECM, fortress, merlin, etc. You usually use them as the
equivalent of thread-safe.

Within your coarse-grained component, you can use lots of different
lifestyle strategies, but you'll have to do it yourself as phoenix
simply doesn't worry about it.

What you can do is embed another avalon container inside your
coarse-grained component to do the lifestyle stuff; you can also not
make every small component use the avalon lifecycle. I usually make my
phoenix components either threadsafe all around or use an internal pool
with (non-component) handlers. Lots of different options, best one
depends on your specific needs.

cheers!

- Leo


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

Reply via email to