> From: Peter Donald [mailto:[EMAIL PROTECTED]]
> 
> On Wed, 10 Jul 2002 20:30, Carsten Ziegeler wrote:
> > > It is unfortunate that ECMs lookup is costly. Does Fortresss have
> > > this problem
> > > aswell? Most containers I work with are little more than a
hashlookup.
> >
> > Even if the lookup is not costly, what about non ThreadSafe
components?
> > For example the XSLTProcessor is configured to not use the Store,
> > the Store would be Poolable (as the XSLTProcessor is) and the
XSLTProcessor
> > looksup a Store in compose().
> > So each XSLTProcessor component would block a Store component,
although
> > this would not be necessary.
> 
> true. But XSLTProcessor would bugger up all those components now as I
removed
> the release() ;)
> 
> I looked at all the store implementations and they all were threadsafe
and I
> applied the same logic as I did wrt the XMLizer/Parser. ie If all
> implementations are threadsafe then dont worry about releasing the
component.

Does this mean that users of the Avalon framework are prohibited from
writing own (non-threadsafe) implementation of the Store component?

This must be clearly marked in the documentation, something like "for
internal use only, do not try to implement yourself".


Vadim


> If the component was poolable then what I did would not be good - it
would
> suck actually ;)
> 
> --
> Cheers,
> 
> Peter Donald
> *------------------------------------------------*
> | You can't wake a person who is pretending      |
> |       to be asleep. -Navajo Proverb.           |
> *------------------------------------------------*


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

Reply via email to