3.3 Deprecated XSD Schema Features

The current spring-beans 3.0 XSD favors a more explicit configuration and relies less on the container to provide some configuration "magic".

The following attributes were removed:

These attributes provided dependency check defaulting that forced the container to "guess" how the checks should be done. We now recommend that you either code programmatic checks in the afterPropertiesSet method or use the @Required annotation.

Also, the "autodetect" option for the following attributes has been removed:

The "autodetect" option again provided too much "magic" and a more explicit declaration is preferred.

You can still continue to use these deprecated features using the 2.5 schema definition. You just need to use the "http://www.springframework.org/schema/beans/spring-beans-2.5.xsd" version of the schema.

The removed attributes only affect the 3.0 schema declaration and the code supporting the 2.5 schema is still provided in Spring 3.0.