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

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c++ - CryptStringToBinary API behavior -