Does java spring recognize method signature? -
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 use method correspond type of property. possible configure in xml file use setter setmyprop(string ...) ?
Comments
Post a Comment