Update spring-tx.xsd regarding reactive tx mgmt support
Closes gh-25030
This commit is contained in:
parent
0f22a5e409
commit
ec3d647d1d
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
That is, this advice element is where the transactional semantics of
|
That is, this advice element is where the transactional semantics of
|
||||||
any number of methods are defined (where transactional semantics
|
any number of methods are defined (where transactional semantics
|
||||||
includes the propagation settings, the isolation level, the rollback
|
include the propagation settings, the isolation level, the rollback
|
||||||
rules, and suchlike).
|
rules, and suchlike).
|
||||||
]]></xsd:documentation>
|
]]></xsd:documentation>
|
||||||
<xsd:appinfo>
|
<xsd:appinfo>
|
||||||
|
|
@ -43,17 +43,21 @@
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="transaction-manager" type="xsd:string" default="transactionManager">
|
<xsd:attribute name="transaction-manager" type="xsd:string" default="transactionManager">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation source="java:org.springframework.transaction.PlatformTransactionManager"><![CDATA[
|
<xsd:documentation source="java:org.springframework.transaction.TransactionManager"><![CDATA[
|
||||||
The bean name of the PlatformTransactionManager that is to be used
|
The bean name of the TransactionManager that is to be used
|
||||||
to drive transactions.
|
to drive transactions.
|
||||||
|
|
||||||
|
Supports PlatformTransactionManager implementations for imperative
|
||||||
|
transaction management and ReactiveTransactionManager implementations
|
||||||
|
for reactive transaction management.
|
||||||
|
|
||||||
This attribute is not required, and only needs to be specified
|
This attribute is not required, and only needs to be specified
|
||||||
explicitly if the bean name of the desired PlatformTransactionManager
|
explicitly if the bean name of the desired TransactionManager
|
||||||
is not 'transactionManager'.
|
is not 'transactionManager'.
|
||||||
]]></xsd:documentation>
|
]]></xsd:documentation>
|
||||||
<xsd:appinfo>
|
<xsd:appinfo>
|
||||||
<tool:annotation kind="ref">
|
<tool:annotation kind="ref">
|
||||||
<tool:expected-type type="org.springframework.transaction.PlatformTransactionManager"/>
|
<tool:expected-type type="org.springframework.transaction.TransactionManager"/>
|
||||||
</tool:annotation>
|
</tool:annotation>
|
||||||
</xsd:appinfo>
|
</xsd:appinfo>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
|
|
@ -67,11 +71,12 @@
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation source="java:org.springframework.transaction.annotation.AnnotationTransactionAttributeSource"><![CDATA[
|
<xsd:documentation source="java:org.springframework.transaction.annotation.AnnotationTransactionAttributeSource"><![CDATA[
|
||||||
Indicates that transaction configuration is defined by Java 5
|
Indicates that transaction configuration is defined by
|
||||||
annotations on bean classes, and that proxies are automatically
|
annotations on bean classes, and that proxies are automatically
|
||||||
to be created for the relevant annotated beans.
|
to be created for the relevant annotated beans.
|
||||||
|
|
||||||
The default annotations supported are Spring's @Transactional
|
The default annotations supported are Spring's @Transactional,
|
||||||
|
JTA 1.2's @Transactional (if available),
|
||||||
and EJB3's @TransactionAttribute (if available).
|
and EJB3's @TransactionAttribute (if available).
|
||||||
|
|
||||||
Transaction semantics such as propagation settings, the isolation level,
|
Transaction semantics such as propagation settings, the isolation level,
|
||||||
|
|
@ -83,17 +88,21 @@
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
<xsd:attribute name="transaction-manager" type="xsd:string" default="transactionManager">
|
<xsd:attribute name="transaction-manager" type="xsd:string" default="transactionManager">
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation source="java:org.springframework.transaction.PlatformTransactionManager"><![CDATA[
|
<xsd:documentation source="java:org.springframework.transaction.TransactionManager"><![CDATA[
|
||||||
The bean name of the PlatformTransactionManager that is to be used
|
The bean name of the TransactionManager that is to be used
|
||||||
to drive transactions.
|
to drive transactions.
|
||||||
|
|
||||||
|
Supports PlatformTransactionManager implementations for imperative
|
||||||
|
transaction management and ReactiveTransactionManager implementations
|
||||||
|
for reactive transaction management.
|
||||||
|
|
||||||
This attribute is not required, and only needs to be specified
|
This attribute is not required, and only needs to be specified
|
||||||
explicitly if the bean name of the desired PlatformTransactionManager
|
explicitly if the bean name of the desired TransactionManager
|
||||||
is not 'transactionManager'.
|
is not 'transactionManager'.
|
||||||
]]></xsd:documentation>
|
]]></xsd:documentation>
|
||||||
<xsd:appinfo>
|
<xsd:appinfo>
|
||||||
<tool:annotation kind="ref">
|
<tool:annotation kind="ref">
|
||||||
<tool:expected-type type="org.springframework.transaction.PlatformTransactionManager"/>
|
<tool:expected-type type="org.springframework.transaction.TransactionManager"/>
|
||||||
</tool:annotation>
|
</tool:annotation>
|
||||||
</xsd:appinfo>
|
</xsd:appinfo>
|
||||||
</xsd:annotation>
|
</xsd:annotation>
|
||||||
|
|
@ -102,7 +111,7 @@
|
||||||
<xsd:annotation>
|
<xsd:annotation>
|
||||||
<xsd:documentation><![CDATA[
|
<xsd:documentation><![CDATA[
|
||||||
Should annotated beans be proxied using Spring's AOP framework,
|
Should annotated beans be proxied using Spring's AOP framework,
|
||||||
or should they rather be weaved with an AspectJ transaction aspect?
|
or should they rather be woven with an AspectJ transaction aspect?
|
||||||
|
|
||||||
AspectJ weaving requires spring-aspects.jar on the classpath,
|
AspectJ weaving requires spring-aspects.jar on the classpath,
|
||||||
as well as load-time weaving (or compile-time weaving) enabled.
|
as well as load-time weaving (or compile-time weaving) enabled.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue