avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: cvs commit: jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml/xslt XSLTProcessorImpl.java
Date Wed, 10 Jul 2002 10:16:26 GMT


> -----Original Message-----
> From: Peter Donald [mailto:peter@apache.org]
> Sent: Wednesday, July 10, 2002 12:10 PM
> To: Avalon Developers List
> On Wed, 10 Jul 2002 19:55, Carsten Ziegeler wrote:
> > > This should not harm cocoon as I null it out if useStore is
> > > false. At leats
> > > thats what I thought, though I could be wrong ? :)
> >
> > No, it doesn't do any harm directly - but it
> > a) requires to declare also the store component, even if
> >    it is not used (= optional)
>
> I am not sure I understand this - why do you need to declare it?
> If it is not
> declared then hasComponent() should return false I thought. Thus you will
> never attempt to lookup component if it is not declared.
Ok, you're right. I didn't see the hasComponent() - sorry.

>
> > b) is a (minor) performance problem as the (costly) lookup
> >    mechanism is always used.
>
> Is this an issue? If so I will revert it. But given the number of other
> lookups I figure it was a negligable amount of the whole components
> lifecycle. Especially as it is looking up ThreadSafe components.
>
> SO should I revert?
Hmm, I think we should continue this in first in your new thread
"Optional Dependencies", have a look at the result, and then
decide what do to.

Carsten



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


Mime
View raw message