cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <alexander.klimetsc...@mindquarry.com>
Subject Using Avalon Components in Spring Components
Date Mon, 30 Oct 2006 10:13:40 GMT
Hi,

how do you use an Avalon component in a Spring bean? With Spring you are 
supposed to inject the dependency via the bean XML config. There you 
need a bean-id of the component to inject. What if this component is not 
defined as a Spring bean but is an Avalon component? Do I simply use the 
role of the component? But roles are a different concept than bean-ids....

In my use case I want to have access to the SourceResolver inside a 
Spring bean.

Alex

-- 
Alexander Klimetschek
http://www.mindquarry.com


Mime
View raw message