I am wanting to configure a bean which is itself a java.util.List and fill it (it holds URL strings in my case) as part of the definition.

Is this possible? Or do I have to have a bean which wraps the List, and use setter injection of the list on that object?

Instead of:

Code:
<bean id="schemaURLList" class="com.foobar.URLList">
   <property name="urlList">
        <list>
           <value>http&#58;//localhost&#58;8080/app/schema/foo.xsd</value>
           <value>http&#58;//localhost&#58;8080/app/schema/bar.xsd</value>
           <value>http&#58;//localhost&#58;8080/app/schema/baz.xsd</value>
        </list>
    </property>
</bean>
I want to do something like:

Code:
<bean id="urlList" class="java.util.List">
     <value>http&#58;//localhost&#58;8080/app/schema/foo.xsd</value>
     <value>http&#58;//localhost&#58;8080/app/schema/bar.xsd</value>
     <value>http&#58;//localhost&#58;8080/app/schema/baz.xsd</value>
</bean>
Thanks,
Ron