
上QQ阅读APP看书,第一时间看更新
Injecting Collections and Properties
Spring containers allow injection of List, Set, Map, or Properties objects to other Spring-defined beans through <property> tags. The following recipe will distinguish between XML-based and JavaConfig context definitions when it comes to implementing type-safe injection.