I ended up using a ProperyEditor:
public class MyTypeListEditor extends PropertyEditorSupport {
public void setAsText(final String text)
{
List<MyType> myType = new...
Type: Posts; User: hgschmie; Keyword(s):
I ended up using a ProperyEditor:
public class MyTypeListEditor extends PropertyEditorSupport {
public void setAsText(final String text)
{
List<MyType> myType = new...
Hi,
I have a bean that gets a list of beans injected:
<bean id="manager" class="manager">
<property name="engines">
<list>
<ref bean="engine1" />
<ref bean="engine2" />
I have a list of bean objects, not a list of bean names. And I need this as
value part of a map, which takes object, so a PropertyEditor will probably not
work here.
Yes, of course. If I use collection merging, then I would need a child bean definition in every application, something that I try to avoid because then the module (which also uses the factory) would...
Hi,
I have a bean definition basically like this:
<bean id="factory">
<property name="listeners">
<map>
<entry type="type1">
<list>