cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [C2] carsten I need a hint
Date Thu, 14 Jun 2001 22:04:30 GMT
On Thu, 14 Jun 2001, gerhard wrote:

> > > 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.

You should take a look at webapp/cocoon.xconf and cocoon.roles

Giacomo

>
> 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
>
>
>
>


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


Mime
View raw message