Folks,

the Spring dependency is upgrade to 3.0.x with 2.3.1:
https://issues.apache.org/jira/browse/WW-3646

This means, the applicationContext of upgrading users will change to a
new DTD - hooray!

The new one should look like that:
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd";
default-autowire="byType">

Please look at the default-autowire option. It is no longer
"autodetect" because this vanishes.

http://static.springsource.org/spring/docs/2.5.x/reference/beans.html#beans-factory-autowire
Autodetect: "Chooses constructor or byType through introspection of
the bean class. If a default constructor is found, the byType mode
will be applied."

In 3.0.x autodetect is gone:
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/beans.html#beans-factory-autowire

Is it worth mentioning it in the release notes?
http://struts.apache.org/2.2.3.1/docs/version-notes-231.html

Looking at the plugins page made me a bit confused:
http://struts.apache.org/2.2.3.1/docs/spring-plugin.html

This property:
struts.objectFactory.spring.autoWire = type
can be set to "auto" - would that still work? Have not tried yet,
probably there is some Spring-Plugin guru there

At least we should change the docs here:
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd";>
<beans default-autowire="autodetect">

Because the autodetect seems wrong with 2.3.1

thoughts?

Cheers
Christian




-- 
http://www.grobmeier.de
https://www.timeandbill.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to