btconfig.xsd
Upload User: xfwatch
Upload Date: 2020-12-14
Package Size: 872k
Code Size: 10k
Category:

MiddleWare

Development Platform:

Java

  1. <?xml version="1.0"?>
  2. <!--
  3. JBoss, Home of Professional Open Source Copyright 2008, Red Hat
  4. Middleware LLC, and others contributors as indicated by the @authors
  5. tag. All rights reserved. See the copyright.txt in the distribution
  6. for a full listing of individual contributors. This copyrighted
  7. material is made available to anyone wishing to use, modify, copy, or
  8. redistribute it subject to the terms and conditions of the GNU Lesser
  9. General Public License, v. 2.1. This program is distributed in the
  10. hope that it will be useful, but WITHOUT A WARRANTY; without even the
  11. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  12. PURPOSE. See the GNU Lesser General Public License for more details.
  13. You should have received a copy of the GNU Lesser General Public
  14. License, v.2.1 along with this distribution; if not, write to the Free
  15. Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  16. 02110-1301, USA.
  17. -->
  18. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  19. targetNamespace="http://www.jboss.org/blacktie" xmlns="http://www.jboss.org/blacktie"
  20. elementFormDefault="qualified">
  21. <xsd:simpleType name="svcstring">
  22. <xsd:restriction base="xsd:string">
  23. <xsd:minLength value="1" />
  24. <xsd:maxLength value="15" />
  25. </xsd:restriction>
  26. </xsd:simpleType>
  27. <xsd:simpleType name="svrstring">
  28. <xsd:restriction base="xsd:string">
  29. <xsd:minLength value="1" />
  30. <xsd:maxLength value="7" />
  31. </xsd:restriction>
  32. </xsd:simpleType>
  33. <xsd:simpleType name="buffername">
  34. <xsd:restriction base="xsd:string">
  35. <xsd:minLength value="1" />
  36. <xsd:maxLength value="16" />
  37. </xsd:restriction>
  38. </xsd:simpleType>
  39. <xsd:simpleType name="attributeType">
  40. <xsd:restriction base="xsd:string">
  41. <xsd:enumeration value="short" />
  42. <xsd:enumeration value="int" />
  43. <xsd:enumeration value="long" />
  44. <xsd:enumeration value="float" />
  45. <xsd:enumeration value="double" />
  46. <xsd:enumeration value="char" />
  47. <xsd:enumeration value="char[]" />
  48. <xsd:enumeration value="short[]" />
  49. <xsd:enumeration value="int[]" />
  50. <xsd:enumeration value="long[]" />
  51. <xsd:enumeration value="float[]" />
  52. <xsd:enumeration value="double[]" />
  53. <xsd:enumeration value="char[][]" />
  54. </xsd:restriction>
  55. </xsd:simpleType>
  56. <xsd:simpleType name="arrayCount">
  57. <xsd:restriction base="xsd:int">
  58. <xsd:minInclusive value="1" />
  59. </xsd:restriction>
  60. </xsd:simpleType>
  61. <xsd:simpleType name="arrayLength">
  62. <xsd:restriction base="xsd:int">
  63. <xsd:minInclusive value="1" />
  64. </xsd:restriction>
  65. </xsd:simpleType>
  66. <xsd:element name="ENVIRONMENT">
  67. <xsd:complexType>
  68. <xsd:sequence>
  69. <xsd:element name="DOMAIN" type="xsd:string" />
  70. <xsd:element name="VERSION" minOccurs="0" maxOccurs="1" />
  71. <xsd:element name="MACHINES" minOccurs="0" maxOccurs="1">
  72. <xsd:complexType>
  73. <xsd:sequence>
  74. <xsd:element name="MACHINE" minOccurs="1" maxOccurs="unbounded">
  75. <xsd:complexType>
  76. <xsd:attribute name="id" type="xsd:string" />
  77. <xsd:attribute name="hostname" type="xsd:string" />
  78. <xsd:attribute name="pathToExecutable" type="xsd:string" />
  79. <xsd:attribute name="workingDirectory" type="xsd:string" />
  80. <xsd:attribute name="serverId" type="xsd:int" />
  81. <xsd:attribute name="argLine" type="xsd:string"
  82. use="optional" />
  83. </xsd:complexType>
  84. </xsd:element>
  85. </xsd:sequence>
  86. </xsd:complexType>
  87. </xsd:element>
  88. <xsd:element name="SERVERS" minOccurs="0" maxOccurs="1">
  89. <xsd:complexType>
  90. <xsd:sequence>
  91. <xsd:element name="SERVER" minOccurs="1" maxOccurs="unbounded">
  92. <xsd:complexType>
  93. <xsd:sequence>
  94. <xsd:element name="MACHINE-REF" minOccurs="0"
  95. maxOccurs="unbounded">
  96. <xsd:complexType>
  97. <xsd:attribute name="id" type="xsd:string" />
  98. </xsd:complexType>
  99. </xsd:element>
  100. <xsd:element name="security" minOccurs="0"
  101. maxOccurs="1">
  102. <xsd:complexType>
  103. <xsd:sequence>
  104. <xsd:element name="role" minOccurs="1"
  105. maxOccurs="unbounded">
  106. <xsd:complexType>
  107. <xsd:attribute name="name" type="xsd:string" />
  108. <xsd:attribute name="read" type="xsd:boolean" />
  109. <xsd:attribute name="write" type="xsd:boolean" />
  110. </xsd:complexType>
  111. </xsd:element>
  112. </xsd:sequence>
  113. </xsd:complexType>
  114. </xsd:element>
  115. <xsd:element name="SERVICE_NAMES">
  116. <xsd:complexType>
  117. <xsd:sequence>
  118. <xsd:element name="SERVICE" minOccurs="1"
  119. maxOccurs="unbounded">
  120. <xsd:complexType>
  121. <xsd:sequence>
  122. <xsd:element name="security" minOccurs="0"
  123. maxOccurs="1">
  124. <xsd:complexType>
  125. <xsd:sequence>
  126. <xsd:element name="role" minOccurs="1"
  127. maxOccurs="unbounded">
  128. <xsd:complexType>
  129. <xsd:attribute name="name" type="xsd:string" />
  130. <xsd:attribute name="read" type="xsd:boolean" />
  131. <xsd:attribute name="write" type="xsd:boolean" />
  132. </xsd:complexType>
  133. </xsd:element>
  134. </xsd:sequence>
  135. </xsd:complexType>
  136. </xsd:element>
  137. <xsd:element name="LIBRARY_NAME" minOccurs="0"
  138. maxOccurs="unbounded">
  139. <xsd:complexType>
  140. <xsd:attribute name="configuration"
  141. type="xsd:string" use="required" />
  142. <xsd:attribute name="value" type="xsd:string"
  143. use="required" />
  144. </xsd:complexType>
  145. </xsd:element>
  146. </xsd:sequence>
  147. <xsd:attribute name="name" type="svcstring"
  148. use="required" />
  149. <xsd:attribute name="function_name" type="xsd:string" />
  150. <xsd:attribute name="java_class_name" type="xsd:string" />
  151. <xsd:attribute name="advertised" type="xsd:boolean"
  152. default="false" />
  153. <xsd:attribute name="size" type="xsd:integer" />
  154. </xsd:complexType>
  155. </xsd:element>
  156. </xsd:sequence>
  157. </xsd:complexType>
  158. </xsd:element>
  159. </xsd:sequence>
  160. <xsd:attribute name="name" type="svrstring" use="required" />
  161. </xsd:complexType>
  162. </xsd:element>
  163. </xsd:sequence>
  164. </xsd:complexType>
  165. </xsd:element>
  166. <xsd:element name="XA_RESOURCES" minOccurs="0">
  167. <xsd:complexType>
  168. <xsd:sequence>
  169. <xsd:element name="XA_RESOURCE" minOccurs="1"
  170. maxOccurs="unbounded">
  171. <xsd:complexType>
  172. <xsd:sequence>
  173. <xsd:element name="XA_RESOURCE_MGR_ID" type="xsd:string" />
  174. <xsd:element name="XA_RESOURCE_NAME" type="xsd:string" />
  175. <xsd:element name="XA_OPEN_STRING" type="xsd:string" />
  176. <xsd:element name="XA_CLOSE_STRING" type="xsd:string" />
  177. <xsd:element name="XA_SWITCH" type="xsd:string" />
  178. <xsd:element name="XA_LIB_NAME" type="xsd:string" />
  179. </xsd:sequence>
  180. <xsd:attribute name="configuration" type="xsd:string"
  181. use="required" />
  182. </xsd:complexType>
  183. </xsd:element>
  184. </xsd:sequence>
  185. </xsd:complexType>
  186. </xsd:element>
  187. <xsd:element name="ORB" minOccurs="1" maxOccurs="1">
  188. <xsd:complexType>
  189. <xsd:attribute name="OPT" type="xsd:string" use="required" />
  190. <xsd:attribute name="TRANS_FACTORY_ID" type="xsd:string"
  191. use="required" />
  192. </xsd:complexType>
  193. </xsd:element>
  194. <xsd:element name="MQ" minOccurs="1" maxOccurs="1">
  195. <xsd:complexType>
  196. <xsd:attribute name="HOST" type="xsd:string" use="required" />
  197. <xsd:attribute name="PORT" type="xsd:int" use="required" />
  198. <xsd:attribute name="USER" type="xsd:string" use="required" />
  199. <xsd:attribute name="PASSWORD" type="xsd:string"
  200. use="required" />
  201. <xsd:attribute name="DESTINATION_TIMEOUT" type="xsd:int"
  202. use="required" />
  203. <xsd:attribute name="RECEIVE_TIMEOUT" type="xsd:int"
  204. use="required" />
  205. <xsd:attribute name="TIME_TO_LIVE" type="xsd:int"
  206. use="required" />
  207. <xsd:attribute name="NAMING_URL" type="xsd:string"
  208. use="optional" />
  209. </xsd:complexType>
  210. </xsd:element>
  211. <xsd:element name="JMX" minOccurs="0" maxOccurs="1">
  212. <xsd:complexType>
  213. <xsd:attribute name="url" type="xsd:string" use="required" />
  214. </xsd:complexType>
  215. </xsd:element>
  216. <xsd:element name="ENV_VARIABLES" minOccurs="0"
  217. maxOccurs="1">
  218. <xsd:complexType>
  219. <xsd:sequence>
  220. <xsd:element name="ENV_VARIABLE" minOccurs="1"
  221. maxOccurs="unbounded">
  222. <xsd:complexType>
  223. <xsd:sequence>
  224. <xsd:element name="NAME" type="xsd:string"
  225. minOccurs="1" maxOccurs="unbounded" />
  226. <xsd:element name="VALUE" type="xsd:string"
  227. minOccurs="1" maxOccurs="unbounded" />
  228. </xsd:sequence>
  229. <xsd:attribute name="configuration" type="xsd:string" />
  230. </xsd:complexType>
  231. </xsd:element>
  232. </xsd:sequence>
  233. </xsd:complexType>
  234. </xsd:element>
  235. <xsd:element name="BUFFERS" minOccurs="0" maxOccurs="1">
  236. <xsd:complexType>
  237. <xsd:sequence>
  238. <xsd:element name="BUFFER" minOccurs="1" maxOccurs="unbounded">
  239. <xsd:complexType>
  240. <xsd:sequence>
  241. <xsd:element name="ATTRIBUTE" minOccurs="1"
  242. maxOccurs="unbounded">
  243. <xsd:complexType>
  244. <xsd:attribute name="id" type="xsd:string"
  245. use="required" />
  246. <xsd:attribute name="type" type="attributeType"
  247. use="required" />
  248. <xsd:attribute name="arrayCount" type="arrayCount"
  249. use="optional" />
  250. <xsd:attribute name="arrayLength" type="arrayLength"
  251. use="optional" />
  252. </xsd:complexType>
  253. </xsd:element>
  254. </xsd:sequence>
  255. <xsd:attribute name="name" type="buffername" use="required" />
  256. </xsd:complexType>
  257. </xsd:element>
  258. </xsd:sequence>
  259. </xsd:complexType>
  260. </xsd:element>
  261. </xsd:sequence>
  262. </xsd:complexType>
  263. </xsd:element>
  264. </xsd:schema>