Code:
<bean class="myClass" >
<property name="myProp" value="${some_string}"..
in myClass:
List<String> myProp;
and 2 setters:
public void setMyProp(String ...)
and
public void setMyProp(List<String> ...)
Spring container always use method that correspond type of property. Does it possible configure in xml file use setter setMyProp(String ...) ?