diff --git a/spring-framework-reference/src/beans.xml b/spring-framework-reference/src/beans.xml index c431a5ae38..d407476e2a 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 fe347a4107..82ef2c8346 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 5c916eb8d5..75e50ef2af 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