cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gerhard" <g-froehl...@gmx.de>
Subject Re: [C2] carsten I need a hint
Date Thu, 14 Jun 2001 20:47:59 GMT
> > Hi Carsten, Devs,
> > I need an hint. I just getting through the CachingEventPipline class
> > to explore the execution of the cache.
> >
> > There is one thing I don't understand:
> >  you call "this.eventCache.store(..)" in line 223, then the Object is
> > stored in the MRUMemoryCache.
> > Please don't laugh, but where do you instantiate the MRUMemoryCache? Maybe I'm a
idiot :-) but I don't
> > understand it.
> 
> That's the magic of Avalon components. At line 78 you'll see
> 
>  this.eventCache = (EventCache)this.manager.lookup(Roles.EVENT_CACHE);
> 
> and that's all about it. The Component management Framework will take
> care of instantiation, configuration and initialisation of the
> component.
Ah cool, I assumed something like this. But I thought the components must be "registered"
somewhere.

There is a lot of cool stuff in Cocoon! 

Congratulations for the beta!!

Thanx.

Cheers
Gerhard



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


Mime
View raw message