提交 12c393eb 编写于 作者: J Juergen Hoeller

Switched 'order' attributes across namespaces to 'xsd:token'

Issue: SPR-10886
Issue: SPR-7342
上级 39694678
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="order" type="xsd:int"> <xsd:attribute name="order" type="xsd:token">
<xsd:annotation> <xsd:annotation>
<xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[ <xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[
Controls the ordering of the execution of this aspect when multiple Controls the ordering of the execution of this aspect when multiple
...@@ -386,7 +386,7 @@ ...@@ -386,7 +386,7 @@
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="order" type="xsd:int"> <xsd:attribute name="order" type="xsd:token">
<xsd:annotation> <xsd:annotation>
<xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[ <xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[
Controls the ordering of the execution of this advice when multiple Controls the ordering of the execution of this advice when multiple
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="order" type="xsd:int"> <xsd:attribute name="order" type="xsd:token">
<xsd:annotation> <xsd:annotation>
<xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[ <xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[
Controls the ordering of the execution of the cache advisor Controls the ordering of the execution of the cache advisor
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="order" type="xsd:integer"> <xsd:attribute name="order" type="xsd:token">
<xsd:annotation> <xsd:annotation>
<xsd:documentation><![CDATA[ <xsd:documentation><![CDATA[
Specifies the order for this placeholder configurer. If more than one is present in a context Specifies the order for this placeholder configurer. If more than one is present in a context
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="order" type="xsd:int"> <xsd:attribute name="order" type="xsd:token">
<xsd:annotation> <xsd:annotation>
<xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[ <xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[
Controls the ordering of the execution of the transaction advisor Controls the ordering of the execution of the transaction advisor
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="timeout" type="xsd:integer" default="-1"> <xsd:attribute name="timeout" type="xsd:int" default="-1">
<xsd:annotation> <xsd:annotation>
<xsd:documentation><![CDATA[ <xsd:documentation><![CDATA[
The transaction timeout value (in seconds). The transaction timeout value (in seconds).
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" <beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">
<tx:annotation-driven/> <tx:annotation-driven order="#{ T(java.lang.Integer).MAX_VALUE }"/>
<bean id="transactionManager" class="org.springframework.tests.transaction.CallCountingTransactionManager"/> <bean id="transactionManager" class="org.springframework.tests.transaction.CallCountingTransactionManager"/>
......
...@@ -354,7 +354,7 @@ ...@@ -354,7 +354,7 @@
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="order" type="xsd:int"> <xsd:attribute name="order" type="xsd:token">
<xsd:annotation> <xsd:annotation>
<xsd:documentation> <xsd:documentation>
<![CDATA[ <![CDATA[
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
attributeFormDefault="unqualified"> attributeFormDefault="unqualified">
<xsd:import namespace="http://www.springframework.org/schema/beans" <xsd:import namespace="http://www.springframework.org/schema/beans"
schemaLocation="http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" /> schemaLocation="http://www.springframework.org/schema/beans/spring-beans-4.0.xsd"/>
<xsd:complexType name="mapping"> <xsd:complexType name="mapping">
<xsd:annotation> <xsd:annotation>
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="relay-port" type="xsd:integer"> <xsd:attribute name="relay-port" type="xsd:int">
<xsd:annotation> <xsd:annotation>
<xsd:documentation source="java:org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler"><![CDATA[ <xsd:documentation source="java:org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler"><![CDATA[
The STOMP message broker port. The STOMP message broker port.
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,7 @@
<xsd:attribute name="auto-startup" type="xsd:boolean"> <xsd:attribute name="auto-startup" type="xsd:boolean">
<xsd:annotation> <xsd:annotation>
<xsd:documentation source="java:org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler"><![CDATA[ <xsd:documentation source="java:org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler"><![CDATA[
Wether or not the StompBrokerRelay should be automatically started as part of its SmartLifecycle, Whether or not the StompBrokerRelay should be automatically started as part of its SmartLifecycle,
i.e. at the time of an application context refresh. i.e. at the time of an application context refresh.
Default value is "true". Default value is "true".
]]></xsd:documentation> ]]></xsd:documentation>
...@@ -424,12 +424,12 @@ ...@@ -424,12 +424,12 @@
</xsd:annotation> </xsd:annotation>
<xsd:complexType> <xsd:complexType>
<xsd:sequence> <xsd:sequence>
<xsd:element name="mapping" type="mapping" minOccurs="1" maxOccurs="unbounded" /> <xsd:element name="mapping" type="mapping" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element name="handshake-handler" type="handshake-handler" minOccurs="0" maxOccurs="1" /> <xsd:element name="handshake-handler" type="handshake-handler" minOccurs="0" maxOccurs="1"/>
<xsd:element name="handshake-interceptors" type="handshake-interceptors" minOccurs="0" maxOccurs="1"/> <xsd:element name="handshake-interceptors" type="handshake-interceptors" minOccurs="0" maxOccurs="1"/>
<xsd:element name="sockjs" type="sockjs-service" minOccurs="0" maxOccurs="1"/> <xsd:element name="sockjs" type="sockjs-service" minOccurs="0" maxOccurs="1"/>
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="order" type="xsd:integer"> <xsd:attribute name="order" type="xsd:token">
<xsd:annotation> <xsd:annotation>
<xsd:documentation><![CDATA[ <xsd:documentation><![CDATA[
Order value for this SimpleUrlHandlerMapping. Order value for this SimpleUrlHandlerMapping.
...@@ -450,8 +450,7 @@ ...@@ -450,8 +450,7 @@
A StompSubProtocolHandler is registered A StompSubProtocolHandler is registered
to handle various versions of the STOMP protocol. to handle various versions of the STOMP protocol.
See EnableWebSocketMessageBroker See EnableWebSocketMessageBroker javadoc for information on code-based alternatives to enabling broker-backed messaging.
Javadoc for information on code-based alternatives to enabling broker-backed messaging.
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>
<xsd:complexType> <xsd:complexType>
...@@ -464,7 +463,7 @@ ...@@ -464,7 +463,7 @@
</xsd:annotation> </xsd:annotation>
<xsd:complexType> <xsd:complexType>
<xsd:sequence> <xsd:sequence>
<xsd:element name="handshake-handler" type="handshake-handler" minOccurs="0" maxOccurs="1" /> <xsd:element name="handshake-handler" type="handshake-handler" minOccurs="0" maxOccurs="1"/>
<xsd:element name="sockjs" type="sockjs-service" minOccurs="0" maxOccurs="1"/> <xsd:element name="sockjs" type="sockjs-service" minOccurs="0" maxOccurs="1"/>
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="path" type="xsd:string"> <xsd:attribute name="path" type="xsd:string">
...@@ -478,8 +477,8 @@ ...@@ -478,8 +477,8 @@
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
<xsd:choice> <xsd:choice>
<xsd:element name="simple-broker" type="simple-broker" /> <xsd:element name="simple-broker" type="simple-broker"/>
<xsd:element name="stomp-broker-relay" type="stomp-broker-relay" /> <xsd:element name="stomp-broker-relay" type="stomp-broker-relay"/>
</xsd:choice> </xsd:choice>
<xsd:element name="message-converters" minOccurs="0"> <xsd:element name="message-converters" minOccurs="0">
<xsd:annotation> <xsd:annotation>
...@@ -563,7 +562,7 @@ ...@@ -563,7 +562,7 @@
]]></xsd:documentation> ]]></xsd:documentation>
</xsd:annotation> </xsd:annotation>
</xsd:attribute> </xsd:attribute>
<xsd:attribute name="order" type="xsd:integer"> <xsd:attribute name="order" type="xsd:token">
<xsd:annotation> <xsd:annotation>
<xsd:documentation><![CDATA[ <xsd:documentation><![CDATA[
Order value for this SimpleUrlHandlerMapping. Order value for this SimpleUrlHandlerMapping.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册