cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <>
Subject Re: svn commit: r437365 - in /cocoon/trunk/core/cocoon-core/src/main: java/org/apache/cocoon/components/treeprocessor/sitemap/ java/org/apache/cocoon/core/container/spring/ resources/org/apache/cocoon/core/container/spring/
Date Mon, 28 Aug 2006 11:45:28 GMT
Carsten Ziegeler wrote:
> Leszek Gawron wrote:
>> It would be even better if the main component wouldn't have the 
>> processor passed to. Instead we could make it BeanFactoryAware and allow 
>> it to find all beans implementing PropertyProvider in context.
> I implemented it slightly different now :) The implementation now
> searches for one bean
> defined in the application context under the bean name
> PropertyProvider.ROLE.
> At this point, we can't search for all implementations of this interface
> in the application context as this would force Spring to instantiate
> FactoryBeans. And then property replacements for FactoryBeans would not
> work anymore as they would be applied later.
One more question: why does the root context gets singletons 
pre-instantiated two times? One time at container start and second time 
after first request. I can post revelant log entries if you like.

Leszek Gawron, IT Manager                          MobileBox sp. z o.o.
+48 (61) 855 06 67                    
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

View raw message