Mention code alternatives in context and mvc XSDs

This commit is contained in:
Chris Beams 2011-06-02 14:45:00 +00:00
parent 9ca9287e35
commit cee9da36eb
2 changed files with 11 additions and 0 deletions

View File

@ -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 @@
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>

View File

@ -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>