You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by li...@apache.org on 2010/09/02 21:53:21 UTC

svn commit: r992086 - /incubator/aries/trunk/transaction/transaction-blueprint/src/main/resources/org/apache/aries/transaction/parsing/transactionv10.xsd

Author: linsun
Date: Thu Sep  2 19:53:21 2010
New Revision: 992086

URL: http://svn.apache.org/viewvc?rev=992086&view=rev
Log:
adding schema annotation for 10 xsd file to make Joe happy

Modified:
    incubator/aries/trunk/transaction/transaction-blueprint/src/main/resources/org/apache/aries/transaction/parsing/transactionv10.xsd

Modified: incubator/aries/trunk/transaction/transaction-blueprint/src/main/resources/org/apache/aries/transaction/parsing/transactionv10.xsd
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/transaction/transaction-blueprint/src/main/resources/org/apache/aries/transaction/parsing/transactionv10.xsd?rev=992086&r1=992085&r2=992086&view=diff
==============================================================================
--- incubator/aries/trunk/transaction/transaction-blueprint/src/main/resources/org/apache/aries/transaction/parsing/transactionv10.xsd (original)
+++ incubator/aries/trunk/transaction/transaction-blueprint/src/main/resources/org/apache/aries/transaction/parsing/transactionv10.xsd Thu Sep  2 19:53:21 2010
@@ -14,7 +14,24 @@
     elementFormDefault="qualified" attributeFormDefault="unqualified"
     version="1.0.0">
 
+    <xsd:annotation>
+        <xsd:documentation>
+      <![CDATA[
+        This is the XML Schema for the OSGi Blueprint declarative transaction 1.0.0 development descriptor.  Blueprint declarative transaction is a custom namespace for OSGi Blueprint service 1.0.0 development descriptor.  It is designed to decorate transaction attribute of the bean components, which can be done at the bean level.  Blueprint configuration files using this schema must indicate the schema using the transactions/v1.1.0 namespace.  For example,        
+        <transaction xmlns="http://aries.apache.org/xmlns/transactions/v1.0.0">
+        if used as a qualified namespace, "tx" is the recommended namespace prefix.
+      ]]>
+        </xsd:documentation>
+    </xsd:annotation>
+
     <xsd:simpleType name="TtransactionStrategy">
+        <xsd:annotation>
+            <xsd:documentation>
+        <![CDATA[
+          The TtransactionStrategy type defines the transaction attribute for blueprint declarative transaction.  
+        ]]>
+            </xsd:documentation>
+        </xsd:annotation>
         <xsd:restriction base="xsd:string">
             <xsd:enumeration value="Required" />
             <xsd:enumeration value="Mandatory" />
@@ -26,11 +43,24 @@
     </xsd:simpleType>
 
     <xsd:complexType name="Ttransaction">
+        <xsd:annotation>
+            <xsd:documentation>
+        <![CDATA[
+          Ttransaction defines one or more methods that are intercepted with the specified transaction attribute. Multiple methods names can be wild-carded with '*'.  Methods can be whitespace separated and be a mixture of fixed string and wild-cards. Two wild-cards next to each other are not supported for either the method attribute.        ]]>
+            </xsd:documentation>
+        </xsd:annotation>
         <xsd:attribute name="method" type="xsd:string" />
         <xsd:attribute name="value" type="TtransactionStrategy" />
     </xsd:complexType>
 
     <xsd:element name="transaction" type="Ttransaction">
+        <xsd:annotation>
+            <xsd:documentation>
+        <![CDATA[
+          The <transaction> element is the root element for blueprint declarative transaction
+        ]]>
+            </xsd:documentation>
+        </xsd:annotation>
     </xsd:element>