diff --git a/spring-framework-reference/src/beans.xml b/spring-framework-reference/src/beans.xml index c431a5ae381ad025754aa10f10e424b82601d956..d407476e2a66b8607e0cc2e5823e6777f34c6859 100644 --- a/spring-framework-reference/src/beans.xml +++ b/spring-framework-reference/src/beans.xml @@ -2072,7 +2072,7 @@ support=support@example.co.uk Chooses constructor or byType through introspection of the bean - class. If a default constructor is found, the + class. If a default no-arg constructor is found, the byType mode is applied. diff --git a/spring-framework-reference/src/dtd.xml b/spring-framework-reference/src/dtd.xml index fe347a410762022c41275ea005a0b698fb07c0b0..82ef2c8346e214b03d914b8cb1cc00651e0c94e2 100644 --- a/spring-framework-reference/src/dtd.xml +++ b/spring-framework-reference/src/dtd.xml @@ -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 diff --git a/spring-framework-reference/src/remoting.xml b/spring-framework-reference/src/remoting.xml index 5c916eb8d5f81415f362ffbce9ae77c7b12e7b0e..75e50ef2af09444047d3bcdd5843350fe42e9e95 100644 --- a/spring-framework-reference/src/remoting.xml +++ b/spring-framework-reference/src/remoting.xml @@ -1442,8 +1442,8 @@ String result = using a Map<String,String>. - To create an instance of RestTemplate you - can simply call the default constructor. This will use standard Java + To create an instance of RestTemplate you can + simply call the default no-arg constructor. This will use standard Java classes from the java.net package as the underlying implementation to create HTTP requests. This can be overridden by specifying an implementation of