cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: Apples enhancements
Date Tue, 06 Mar 2007 10:55:23 GMT
Carsten Ziegeler wrote:
> Reinhard Poetz wrote:
>> Carsten, may you have a look at 
>> http://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-apples/cocoon-apples-impl/src/main/java/org/apache/cocoon/components/flow/apples/ApplesProcessor.java?
>>
>> I'm not sure about
>>
>> sitemapManager = (ServiceManager) 
>> avalonContext.get(ContextHelper.CONTEXT_SITEMAP_SERVICE_MANAGER);
>>
>> and
>>
>> LifecycleHelper.setupComponent(app, getLogger(), appleContext, sitemapManager, 
>> null, true);
>>
>> as both statements use deprecated code.
>>
> Yes, the stuff is deprecated because it's avalon based code. The first
> one can be changed (I just commited it),
> but there is no replacement for the lifecycle helper. You can only
> remove this code by either making a real Avalon component out of 'app',
> so the container does the stuff for you. Or you can remove the avalon
> support and use spring beans.

Removing Avalon support is out of question for cocoon-apples that should work 
with cocoon-core 2.2.

Thanks for doing the refactoring!

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

Mime
View raw message