Custom PropertyEditor for Spring which resolves beans by their name
A sample how to implement a custom propertyeditor for Spring 2.x which allows you to configure bean references with string literals.
The propertyeditor tries to resolve the referenced beans given by their id.
Example
<bean id="foo" class="com.sample.Foo">
<property name="list" value="barA,barB"></property>
</bean>
<bean id="barA" class="com.sample.Bar"></bean>
<bean id="barB" class="com.sample.Bar"></bean>
Inspired by http://www.mkyong.com/spring/spring-how-to-pass-a-date-into-bean-property-customdateeditor/