cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: Spring bean names
Date Fri, 14 Dec 2007 21:02:47 GMT
On Dec 7, 2007, at 1:08 PM, Carsten Ziegeler wrote:

> The [Spring Configurator's bean] map uses the interface to search  
> for all beans of this
> interface. Then the interface name is used as a prefix to find the
> selector hint (key). So if a bean for interface "foo.Bar" is found and
> has the bean name "foo.Bar.x" , the bean is registered with "x" in the
> map. If the name is "foo.Bar/y", it's registered with "y" in the map.

Ok, good to know.

But what would happen if bean's name is not prefixed with the  
interface name? So bean is named just 'baz' but it implements  
'foo.Bar' interface?


View raw message