Browse Source

Mention code alternatives in context and mvc XSDs

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4415 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/merge
Chris Beams 15 years ago
parent
commit
292916c66c
  1. 7
      org.springframework.context/src/main/resources/org/springframework/context/config/spring-context-3.1.xsd
  2. 4
      org.springframework.web.servlet/src/main/resources/org/springframework/web/servlet/config/spring-mvc-3.1.xsd

7
org.springframework.context/src/main/resources/org/springframework/context/config/spring-context-3.1.xsd

@ -140,6 +140,10 @@ @@ -140,6 +140,10 @@
Note: This tag does not activate processing of Spring's @Transactional or EJB3's
@TransactionAttribute annotation. Consider the use of the <tx:annotation-driven>
tag for that purpose.
See Javadoc for org.springframework.context.annotation.AnnotationConfigApplicationContext
for information on code-based alternatives to bootstrapping annotation-driven support
from XML.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
@ -163,6 +167,9 @@ @@ -163,6 +167,9 @@
being registered; Spring's PropertyPlaceholderConfigurer will apply to those bean
definitions just like to regular bean definitions, but it won't apply to the component
scan settings themselves.
See Javadoc for org.springframework.context.annotation.ComponentScan for information
on code-based alternatives to bootstrapping component-scanning from XML.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>

4
org.springframework.web.servlet/src/main/resources/org/springframework/web/servlet/config/spring-mvc-3.1.xsd

@ -14,6 +14,10 @@ @@ -14,6 +14,10 @@
<xsd:documentation source="java:org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"><![CDATA[
Configures the annotation-driven Spring MVC Controller programming model.
Note that, with Spring 3.0, this tag works in Servlet MVC only!
See org.springframework.web.servlet.config.annotation.EnableWebMvc Javadoc for
information on code-based alternatives to enabling annotation-driven Spring MVC
support.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>

Loading…
Cancel
Save