spring core xml configuration for collection using constructor

Solutions on MaxInterview for spring core xml configuration for collection using constructor by the best coders in the world

showing results for - "spring core xml configuration for collection using constructor"
Leo
05 Mar 2020
1<?xml version="1.0" encoding="UTF-8"?>
2<beans xmlns="http://www.springframework.org/schema/beans"
3xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4xmlns:util="http://www.springframework.org/schema/util"
5xsi:schemaLocation="http://www.springframework.org/schema/beans
6                    http://www.springframework.org/schema/beans/spring-beans.xsd
7                    http://www.springframework.org/schema/util
8                    http://www.springframework.org/schema/util/spring-util.xsd">
9<util:list id="myList" value-type="java.lang.String">
10    <value>foo</value>
11    <value>bar</value>
12</util:list>