forked from TarsCloud/Tars
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |