Leo Sutic wrote:
>
> I did this:
>
> m_pool = new DefaultComponentPool( m_factory,
> config.getAttributeAsInteger
> ("avalon-pool-size-min", AbstractPool.DEFAULT_POOL_SIZE / 4),
> config.getAttributeAsInteger
> ("avalon-pool-size-max", AbstractPool.DEFAULT_POOL_SIZE),
> config.getAttributeAsInteger
> ("avalon-pool-size-resize", AbstractPool.DEFAULT_POOL_SIZE / 4));
>
> So defaults would always be provided. I assume you're doing something
> similar.
I am, but without "avalon-" and "size-" words in there. Please note
that I also have some logging optimizations involved.
>
> /LS
>
> > -----Original Message-----
> > From: Berin Loritsch [mailto:[EMAIL PROTECTED]]
> > Sent: den 12 juni 2001 15:19
> > To: Avalon Development
> > Subject: Re: [Vote][Excalibur] Component Pools
> >
> >
> > New code only has to be done in two places:
> >
> > PoolableComponentHandler looks at the Configuration
> > object for attributes on the root element ("pool-min"
> > and "pool-max"). DefaultComponentPool needed to expose
> > one more constructor. It will be committed shortly.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]