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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to