Consistently refer to 'default no-arg constructor' (SPR-7339)
This commit is contained in:
parent
edad222e6a
commit
5e64f228b6
|
@ -2072,7 +2072,7 @@ support=support@example.co.uk</programlisting>
|
|||
|
||||
<entry><para>Chooses <emphasis>constructor</emphasis> or
|
||||
<emphasis>byType</emphasis> through introspection of the bean
|
||||
class. If a default constructor is found, the
|
||||
class. If a default no-arg constructor is found, the
|
||||
<emphasis>byType</emphasis> mode is applied.</para></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -246,7 +246,7 @@
|
|||
|
||||
5. "autodetect"
|
||||
Chooses "constructor" or "byType" through introspection of the bean class.
|
||||
If a default constructor is found, "byType" gets applied.
|
||||
If a default no-arg constructor is found, "byType" gets applied.
|
||||
|
||||
The latter two are similar to PicoContainer and make bean factories simple to
|
||||
configure for small namespaces, but doesn't work as well as standard Spring
|
||||
|
|
|
@ -1442,8 +1442,8 @@ String result =
|
|||
|
||||
<para>using a <literal>Map<String,String></literal>.</para>
|
||||
|
||||
<para>To create an instance of <classname>RestTemplate</classname> you
|
||||
can simply call the default constructor. This will use standard Java
|
||||
<para>To create an instance of <classname>RestTemplate</classname> you can
|
||||
simply call the default no-arg constructor. This will use standard Java
|
||||
classes from the <literal>java.net</literal> package as the underlying
|
||||
implementation to create HTTP requests. This can be overridden by
|
||||
specifying an implementation of
|
||||
|
|
Loading…
Reference in New Issue