blob: f6c63d90f42fc4c6db856a4b7288778ba27f83a7 [file] [log] [blame]
Tag name:&nbsp;<b>constructor-arg</b><br>Description :&nbsp;Bean definitions can specify zero or more constructor arguments.<br>
This is an alternative to &quot;autowire constructor&quot;.<br>
Arguments correspond to either a specific index of the constructor<br>
argument list or are supposed to be matched generically by type.<br>
<br>
Note: A single generic argument value will just be used once, rather<br>
than potentially matched multiple times (as of Spring 1.1).<br>
<br>
constructor-arg elements are also used in conjunction with the<br>
factory-method element to construct beans using static or instance<br>
factory methods.