cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: question on getLogger()
Date Wed, 04 Apr 2001 18:18:44 GMT
On Wed, 4 Apr 2001, Giacomo Pati wrote:

> > > > what's the most succinct way of configuring the class so that getLogger()
> > > > is valid and doesn't return null?
> > >
> > > You need to put your class under the controll of a ComponentManager by
> > > defining it as a component in the cocoon.xconf file and getting it via
> > > the ComponentManager. This depends where you are instanciating your
> > > class. Can you elaborate more on the use case of your class?
> >
> > i was just playing around thinking about caching issues and decided to go
> > ahead and try using a LoggingEntityResolver to see if we can actually
> > track "extra" resources used by sitemap components (trax transformer, for
> > instance) using that method. i'm currently using it as follows in the
> > ResourcePipeline:
>
> be aware that I am currently refactoring the Resourcepieline class.

oh, i am, i'm not committed to any of the code i'm writing, i'm just
playing around right now. i must confess, though, i don't see any way to
reliably cache the output from the serializers if they don't close the
output streams or signal completion in some other way...

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message