|
Spring Framework example source code file (spring-tx-2.0.xsd)
The Spring Framework spring-tx-2.0.xsd source code<?xml version="1.0" encoding="UTF-8" standalone="no"?> <xsd:schema xmlns="http://www.springframework.org/schema/tx" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:tool="http://www.springframework.org/schema/tool" targetNamespace="http://www.springframework.org/schema/tx" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xsd:import namespace="http://www.springframework.org/schema/beans"/> <xsd:import namespace="http://www.springframework.org/schema/tool"/> <xsd:annotation> <xsd:documentation> </xsd:annotation> <xsd:element name="advice"> <xsd:complexType> <xsd:annotation> <xsd:documentation source="java:org.springframework.transaction.interceptor.TransactionInterceptor"> <xsd:appinfo> <tool:annotation> <tool:exports type="org.springframework.transaction.interceptor.TransactionInterceptor"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> <xsd:complexContent> <xsd:extension base="beans:identifiedType"> <xsd:sequence> <xsd:element name="attributes" type="attributesType" minOccurs="0" maxOccurs="1"/> </xsd:sequence> <xsd:attribute name="transaction-manager" type="xsd:string" default="transactionManager"> <xsd:annotation> <xsd:documentation source="java:org.springframework.transaction.PlatformTransactionManager"> <xsd:appinfo> <tool:annotation kind="ref"> <tool:expected-type type="org.springframework.transaction.PlatformTransactionManager"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> <xsd:element name="annotation-driven"> <xsd:complexType> <xsd:annotation> <xsd:documentation source="java:org.springframework.transaction.annotation.AnnotationTransactionAttributeSource"> </xsd:annotation> <xsd:attribute name="transaction-manager" type="xsd:string" default="transactionManager"> <xsd:annotation> <xsd:documentation source="java:org.springframework.transaction.PlatformTransactionManager"> <xsd:appinfo> <tool:annotation kind="ref"> <tool:expected-type type="org.springframework.transaction.PlatformTransactionManager"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> </xsd:attribute> <xsd:attribute name="proxy-target-class" type="xsd:boolean" default="false"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="order" type="xsd:int"> <xsd:annotation> <xsd:documentation source="java:org.springframework.core.Ordered"> </xsd:annotation> </xsd:attribute> </xsd:complexType> </xsd:element> <xsd:complexType name="attributesType"> <xsd:sequence> <xsd:element name="method" minOccurs="1" maxOccurs="unbounded"> <xsd:complexType> <xsd:attribute name="name" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="propagation" default="REQUIRED"> <xsd:annotation> <xsd:documentation source="java:org.springframework.transaction.annotation.Propagation"> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="REQUIRED"/> <xsd:enumeration value="SUPPORTS"/> <xsd:enumeration value="MANDATORY"/> <xsd:enumeration value="REQUIRES_NEW"/> <xsd:enumeration value="NOT_SUPPORTED"/> <xsd:enumeration value="NEVER"/> <xsd:enumeration value="NESTED"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> <xsd:attribute name="isolation" default="DEFAULT"> <xsd:annotation> <xsd:documentation source="java:org.springframework.transaction.annotation.Isolation"> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="DEFAULT"/> <xsd:enumeration value="READ_UNCOMMITTED"/> <xsd:enumeration value="READ_COMMITTED"/> <xsd:enumeration value="REPEATABLE_READ"/> <xsd:enumeration value="SERIALIZABLE"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> <xsd:attribute name="timeout" type="xsd:integer" default="-1"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="read-only" type="xsd:boolean" default="false"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="rollback-for" type="xsd:string"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="no-rollback-for" type="xsd:string"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:schema> Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework spring-tx-2.0.xsd source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.