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? Yes.
> 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 -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
