Set注入的变量类型:
- JDK内置类型
8种基本类型 + String、数组类型、set集合、list集合、Map集合、Properties集合。 - 用户自定义类型
针对于不同类型的成员变量,在<property
标签中,需要嵌套其他标签:
<property>
xxxxx
</property>
Set注入的变量类型:
针对于不同类型的成员变量,在<property
标签中,需要嵌套其他标签:
<property>
xxxxx
</property>