cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <>
Subject Re: Using Avalon Components in Spring Components
Date Mon, 30 Oct 2006 11:08:36 GMT
Alexander Klimetschek wrote:
> 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....
Why do you think so?

> In my use case I want to have access to the SourceResolver inside a 
> Spring bean.
Just use the full qualified role (org....)


Carsten Ziegeler - Open Source Group, S&N AG

View raw message