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.
Carsten -- Carsten Ziegeler http://www.osoco.org/weblogs/rael/