shortcut for injecting strings with spring

前端 未结 3 2335
刺人心
刺人心 2021-02-20 01:01

I inject Strings in my spring config by doing the following:


    

        
3条回答
  •  感动是毒
    2021-02-20 01:25

    In addition to the other answers and if you're using Spring 3.1+, you can use the constructor namespace.

    
    
    

提交回复
热议问题