Search:

Type: Posts; User: hgschmie; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    1,063

    I ended up using a ProperyEditor: public...

    I ended up using a ProperyEditor:


    public class MyTypeListEditor extends PropertyEditorSupport {

    public void setAsText(final String text)
    {
    List<MyType> myType = new...
  2. Replies
    3
    Views
    1,063

    Building a bean list from a property.

    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" />
  3. Replies
    4
    Views
    979

    I have a list of bean objects, not a list of bean...

    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.
  4. Replies
    4
    Views
    979

    Yes, of course. If I use collection merging, then...

    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...
  5. Replies
    4
    Views
    979

    Configuring bean lists from properties?

    Hi,

    I have a bean definition basically like this:


    <bean id="factory">
    <property name="listeners">
    <map>
    <entry type="type1">
    <list>
Results 1 to 5 of 5