I observed that the default implementation of list in spring xml is ArrayList.
I tried:
<bean id="employee" class="com.ioc.entity.Employee">
</property>
<property name="list">
<list value-type="java.lang.String">
<value>ABC</value>
<value>XYZ</value>
</list>
</property>
</bean>
getClass() method on this list returns java.util.ArrayList.
Is there any property or way by which we can override this default implementation of list (may be to LinkedList or any list that I want) or any other collection (like map, set etc.)?
You can import Spring util and use the list-class reference.