Skip to content

Commit

Permalink
tars.xsd添加描述
Browse files Browse the repository at this point in the history
  • Loading branch information
LawlietLi committed Dec 8, 2017
1 parent fcdfac2 commit ba5f49a
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions java/spring/src/main/resources/META-INF/tars.xsd
Original file line number Diff line number Diff line change
@@ -1,20 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://tars.tencent.com/schema/tars"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://tars.tencent.com/schema/tars"
elementFormDefault="qualified" attributeFormDefault="unqualified">
targetNamespace="http://tars.tencent.com/schema/tars">

<xsd:annotation>
<xsd:documentation>
<![CDATA[ Namespace for tars services provided by tars framework. ]]>
</xsd:documentation>
</xsd:annotation>

<xsd:element name="servant">
<xsd:complexType>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="interface" type="xsd:string"/>
<xsd:attribute name="ref" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation><![CDATA[ The Obj name. ]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="interface" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[ The interface class name. ]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[ The servant bean name. ]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="protocol" type="xsd:string"/>
<xsd:attribute name="src" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="listener">
<xsd:complexType>
<xsd:attribute name="ref" type="xsd:string"/>
<xsd:attribute name="ref" type="xsd:string">
<xsd:annotation>
<xsd:documentation><![CDATA[ The listener bean name. ]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:schema>

0 comments on commit ba5f49a

Please sign in to comment.