cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: [RT] Making Cocoon instance available to other components
Date Fri, 29 Nov 2002 16:59:37 GMT
On Fri, 2002-11-29 at 17:46, Sylvain Wallez wrote:

[...]
> 
> The Cocoon object is an Avalon component, but in fact doesn't need to be 
> : it is conceptually a container, which loads the configuration, creates 
> an ECM and delegates the implementation of the Processor interface to 
> the component implementing this interface that is managed by the ECM 
> (look at Cocoon.process()).
> 
> So what you are looking for may be simply looking up the Processor role 
> in the ECM that manages your component, which will return the sitemap 
> engine, and call process() on that object.
> 

Ah, didn't know I could do that. I'll check it out.

Thanks,

Bruno

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.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