jboss-as-jacorb_1_2.xsd 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2011, Red Hat, Inc., and individual contributors
  5. ~ as indicated by the @author tags. See the copyright.txt file in the
  6. ~ distribution for a full listing of individual contributors.
  7. ~
  8. ~ This is free software; you can redistribute it and/or modify it
  9. ~ under the terms of the GNU Lesser General Public License as
  10. ~ published by the Free Software Foundation; either version 2.1 of
  11. ~ the License, or (at your option) any later version.
  12. ~
  13. ~ This software is distributed in the hope that it will be useful,
  14. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. ~ Lesser General Public License for more details.
  17. ~
  18. ~ You should have received a copy of the GNU Lesser General Public
  19. ~ License along with this software; if not, write to the Free
  20. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  22. -->
  23. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  24. targetNamespace="urn:jboss:domain:jacorb:1.2"
  25. xmlns="urn:jboss:domain:jacorb:1.2"
  26. elementFormDefault="qualified"
  27. attributeFormDefault="unqualified"
  28. version="1.2">
  29. <!-- The jacorb subsystem root element -->
  30. <xs:element name="subsystem" type="jacorbSubsystemType"/>
  31. <xs:complexType name="jacorbSubsystemType">
  32. <xs:annotation>
  33. <xs:documentation>
  34. <![CDATA[
  35. The jacorbSubsystemType specifies the elements that can be used to configure the various aspects of the
  36. jacorb subsystem.
  37. - orb: holds the attributes used to configure the Object Request Broken (ORB).
  38. - poa: holds the attributes used to configure the Portable Object Adapters (POA).
  39. - naming: holds the attributes used to configured the CORBA Naming Service.
  40. - interop: holds the attributes that control the ORB interoperability features.
  41. - security: holds the attributes that control the ORB security features.
  42. - properties: allows for the specification of generic name/value properties.
  43. ]]>
  44. </xs:documentation>
  45. </xs:annotation>
  46. <xs:sequence>
  47. <xs:element name="orb" minOccurs="0" maxOccurs="1" type="orbConfigType"/>
  48. <xs:element name="poa" minOccurs="0" maxOccurs="1" type="poaConfigType"/>
  49. <xs:element name="naming" minOccurs="0" maxOccurs="1" type="namingConfigType"/>
  50. <xs:element name="interop" minOccurs="0" maxOccurs="1" type="interopConfigType"/>
  51. <xs:element name="security" minOccurs="0" maxOccurs="1" type="securityConfigType"/>
  52. <xs:element name="properties" minOccurs="0" maxOccurs="1" type="genericPropertiesType"/>
  53. </xs:sequence>
  54. </xs:complexType>
  55. <xs:complexType name="orbConfigType">
  56. <xs:annotation>
  57. <xs:documentation>
  58. <![CDATA[
  59. the orbConfigType specifies the elements and attributes that can be used to configure the behavior of the
  60. Object Request Broker (ORB).
  61. - connection: this element allows for the configuration of the connection properties.
  62. - naming: this element allows for the configuration of the naming initial reference.
  63. * name: the name of the running ORB.
  64. * print-version: indicates whether the version number should be printed during ORB startup (on) or not (off).
  65. * use-imr: indicates whether the implementation repository should be used (on) or not (off).
  66. * use-bom: indicates whether GIOP 1.2 byte order markers should be used (on) or not (off).
  67. * cache-typecodes: indicates whether typecodes should be cached (on) or not (off).
  68. * cache-poa-names: indicates whether POA names should be cached (on) or not (off).
  69. * giop-minor-version: the GIOP minor version to be used.
  70. ]]>
  71. </xs:documentation>
  72. </xs:annotation>
  73. <xs:sequence>
  74. <xs:element name="connection" minOccurs="0" maxOccurs="1" type="orbConnectionConfigType"/>
  75. <xs:element name="initializers" minOccurs="0" maxOccurs="1" type="orbInitializersConfigType"/>
  76. </xs:sequence>
  77. <xs:attribute name="name" type="xs:string" use="optional" default="JBoss"/>
  78. <xs:attribute name="print-version" type="onOffType" use="optional" default="off"/>
  79. <xs:attribute name="use-imr" type="onOffType" use="optional" default="off"/>
  80. <xs:attribute name="use-bom" type="onOffType" use="optional" default="off"/>
  81. <xs:attribute name="cache-typecodes" type="onOffType" use="optional" default="off"/>
  82. <xs:attribute name="cache-poa-names" type="onOffType" use="optional" default="off"/>
  83. <xs:attribute name="giop-minor-version" type="xs:integer" use="optional" default="2"/>
  84. <xs:attribute name="socket-binding" type="xs:string" use="optional" default="jacorb"/>
  85. <xs:attribute name="ssl-socket-binding" type="xs:string" use="optional" default="jacorb-ssl"/>
  86. </xs:complexType>
  87. <xs:complexType name="orbConnectionConfigType">
  88. <xs:annotation>
  89. <xs:documentation>
  90. <![CDATA[
  91. The orbConnectionConfigType specifies the attributes used to configure the ORB connections.
  92. * retries: the number of retries if connections cannot be promptly established.
  93. * retry-interval: the interval in milliseconds between retries.
  94. * client-timeout: the client-side connection timeout value in milliseconds. A value of zero indicates that
  95. the connection never times out.
  96. * server-timeout: the server-side connection timeout value in milliseconds. A value of zero indicates that
  97. the connection never times out.
  98. * max-server-connections: the maximum number of connections accepted by the server.
  99. * max-managed-buf-size: the log2 of maximum size managed by the internal buffer manager.
  100. * outbuf-size: the size of the network buffers for outgoing messages.
  101. * outbuf-cache-timeout: the buffer cache timeout in milliseconds.
  102. ]]>
  103. </xs:documentation>
  104. </xs:annotation>
  105. <xs:attribute name="retries" type="xs:integer" use="optional" default="5"/>
  106. <xs:attribute name="retry-interval" type="xs:integer" use="optional" default="500"/>
  107. <xs:attribute name="client-timeout" type="xs:integer" use="optional" default="0"/>
  108. <xs:attribute name="server-timeout" type="xs:integer" use="optional" default="0"/>
  109. <xs:attribute name="max-server-connections" type="xs:integer" use="optional"/>
  110. <xs:attribute name="max-managed-buf-size" type="xs:integer" use="optional" default="24"/>
  111. <xs:attribute name="outbuf-size" type="xs:integer" use="optional" default="2048"/>
  112. <xs:attribute name="outbuf-cache-timeout" type="xs:integer" use="optional" default="-1"/>
  113. </xs:complexType>
  114. <xs:complexType name="orbInitializersConfigType">
  115. <xs:annotation>
  116. <xs:documentation>
  117. <![CDATA[
  118. The orbInitializersConfigType specifies the attributes used to configure the ORB initializers.
  119. * security: indicates whether the security (SAS and CSIv2) initializers should be installed (on) or not (off).
  120. * transactions: indicates which transaction initializers should be installed. There are three possibilities:
  121. on - This requires JTS to be enabled in the transactions subsystem config, and will enable full transaction
  122. interaoprability with other JBoss AS instances.
  123. spec - This does not require JTS to be enabled, but will install the minimum set of transaction interceptors
  124. required for EJB spec compliance. These interceptors detect an incoming transaction and throw an
  125. exception if the invocation should be run in the incoming transaction context.
  126. off - No transaction initalizers will be installed.
  127. ]]>
  128. </xs:documentation>
  129. </xs:annotation>
  130. <xs:attribute name="security" type="onOffType" use="optional" default="off"/>
  131. <xs:attribute name="transactions" type="transactionEnabledType" use="optional" default="off"/>
  132. </xs:complexType>
  133. <xs:complexType name="poaConfigType">
  134. <xs:annotation>
  135. <xs:documentation>
  136. <![CDATA[
  137. The poaConfigType specifies the elements and attributes used to configure the Portable Object Adapterss (POA).
  138. - request-processors: element that allows for the configuration of the POA request processors.
  139. * monitoring: indicates whether the monitoring GUI should be displayed (on) or not (off).
  140. * queue-wait: indicates whether requests that exceed the maximum queue size should wait (on) or not (off).
  141. When disabled, a TRANSIENT exception is thrown if the queue is full.
  142. * queue-min: the size of the queue for notifying waiting requests. In other words, blocked requests are
  143. only notified when the queue has no more than queue-min requests.
  144. * queue-max: the maximum number of requests that can be queued. If new requests arrive and queue-wait is
  145. on, the exceeding requests will be blocked until the queue reaches its minimum value.
  146. ]]>
  147. </xs:documentation>
  148. </xs:annotation>
  149. <xs:sequence>
  150. <xs:element name="request-processors" minOccurs="0" maxOccurs="1" type="poaRequestProcessorsConfigType"/>
  151. </xs:sequence>
  152. <xs:attribute name="monitoring" type="onOffType" use="optional" default="off"/>
  153. <xs:attribute name="queue-wait" type="onOffType" use="optional" default="off"/>
  154. <xs:attribute name="queue-min" type="xs:integer" use="optional" default="10"/>
  155. <xs:attribute name="queue-max" type="xs:integer" use="optional" default="100"/>
  156. </xs:complexType>
  157. <xs:complexType name="poaRequestProcessorsConfigType">
  158. <xs:annotation>
  159. <xs:documentation>
  160. <![CDATA[
  161. The poaRequestProcessorsConfigType specifies the attributes used to configure the POA request processors.
  162. * pool-size: the size of the request processors thread-pool. Threads that finish processing a request are
  163. placed back in the pool if the pool is not full and discarded otherwise.
  164. * max-threads: the maximum number of active request processor threads. Threads are first obtained from
  165. the pool and once the pool is exhausted new threads are created until the number of threads
  166. reaches this limit. New requests will wait until an active thread finishes its job.
  167. ]]>
  168. </xs:documentation>
  169. </xs:annotation>
  170. <xs:attribute name="pool-size" type="xs:integer" use="optional" default="5"/>
  171. <xs:attribute name="max-threads" type="xs:integer" use="optional" default="32"/>
  172. </xs:complexType>
  173. <xs:complexType name="namingConfigType">
  174. <xs:annotation>
  175. <xs:documentation>
  176. <![CDATA[
  177. The namingConfigType specifies the attributes used to configure the naming service.
  178. * root-context: the naming service root context.
  179. * export-corbaloc: indicates whether the root context should be exported as corbaloc::address:port/NameService
  180. (on) or not (off).
  181. ]]>
  182. </xs:documentation>
  183. </xs:annotation>
  184. <xs:attribute name="root-context" type="xs:string" use="optional" default="JBoss/Naming/root"/>
  185. <xs:attribute name="export-corbaloc" type="onOffType" use="optional" default="on"/>
  186. </xs:complexType>
  187. <xs:complexType name="interopConfigType">
  188. <xs:annotation>
  189. <xs:documentation>
  190. <![CDATA[
  191. The interopConfigType specifies the attributes used to configure the ORB interoperability features.
  192. * sun: indicates whether interoperability with Sun's ORB is enabled (on) or not (off).
  193. * comet: indicates whether interoperability with Comet's ORB is enabled (on) or not (off).
  194. * iona: indicates whether interoperability with IONA's ASP is enabled (on) or not (off).
  195. * chunk-custom-rmi-valuetypes: indicates whether custom RMI valuetypes should be encoded as chunks (on)
  196. or not (off).
  197. * lax-boolean-encoding: indicates whether any non-zero CDR encoded boolean value should be interpreted as
  198. true (on) or not (off).
  199. * indirection-encoding-disabled: indicates whether indirection encoding for repeated typecodes should be
  200. disabled (on) or not (off).
  201. * strict-check-on-tc-creation: indicates whether the method create_abstract_interface_tc should perform
  202. a validation check on the name parameter (on) or not (off).
  203. ]]>
  204. </xs:documentation>
  205. </xs:annotation>
  206. <xs:attribute name="sun" type="onOffType" use="optional" default="on"/>
  207. <xs:attribute name="comet" type="onOffType" use="optional" default="off"/>
  208. <xs:attribute name="iona" type="onOffType" use="optional" default="off"/>
  209. <xs:attribute name="chunk-custom-rmi-valuetypes" type="onOffType" use="optional" default="on"/>
  210. <xs:attribute name="lax-boolean-encoding" type="onOffType" use="optional" default="off"/>
  211. <xs:attribute name="indirection-encoding-disable" type="onOffType" use="optional" default="off"/>
  212. <xs:attribute name="strict-check-on-tc-creation" type="onOffType" use="optional" default="off"/>
  213. </xs:complexType>
  214. <xs:complexType name="securityConfigType">
  215. <xs:annotation>
  216. <xs:documentation>
  217. <![CDATA[
  218. The securityConfigType specifies the attributes used to configure the ORB security features.
  219. * support-ssl: indicates whether SSL is to be supported (on) or not (off).
  220. * security-domain: the name of the security domain that holds the key and trust stores that will be used
  221. to establish SSL connections.
  222. * add-component-via-interceptor: indicates whether SSL components should be added by an IOR interceptor
  223. (on) or not (off).
  224. * client-supports: value that indicates the client SSL supported parameters (None, ServerAuth, ClientAuth.
  225. MutualAuth)
  226. * client-requires: value that indicates the client SSL required parameters (None, ServerAuth, ClientAuth.
  227. MutualAuth)
  228. * server-supports: value that indicates the server SSL supported parameters (None, ServerAuth, ClientAuth.
  229. MutualAuth)
  230. * server-requires: value that indicates the server SSL required parameters (None, ServerAuth, ClientAuth.
  231. MutualAuth)
  232. ]]>
  233. </xs:documentation>
  234. </xs:annotation>
  235. <xs:attribute name="support-ssl" type="onOffType" use="optional" default="off"/>
  236. <xs:attribute name="security-domain" type="xs:string" use="optional"/>
  237. <xs:attribute name="add-component-via-interceptor" type="onOffType" use="optional" default="on"/>
  238. <xs:attribute name="client-supports" type="sslConfigType" use="optional" default="MutualAuth"/>
  239. <xs:attribute name="client-requires" type="sslConfigType" use="optional" default="None"/>
  240. <xs:attribute name="server-supports" type="sslConfigType" use="optional" default="MutualAuth"/>
  241. <xs:attribute name="server-requires" type="sslConfigType" use="optional" default="None"/>
  242. </xs:complexType>
  243. <xs:complexType name="genericPropertiesType">
  244. <xs:annotation>
  245. <xs:documentation>
  246. <![CDATA[
  247. Enclosing element for a list of generic properties.
  248. ]]>
  249. </xs:documentation>
  250. </xs:annotation>
  251. <xs:sequence>
  252. <xs:element name="property" minOccurs="0" maxOccurs="unbounded" type="genericPropertyType"/>
  253. </xs:sequence>
  254. </xs:complexType>
  255. <xs:complexType name="genericPropertyType">
  256. <xs:annotation>
  257. <xs:documentation>
  258. <![CDATA[
  259. The property element allows for the specification of generic name/value properties. It is useful to specify
  260. configuration attributes that have not been covered in this schema.
  261. ]]>
  262. </xs:documentation>
  263. </xs:annotation>
  264. <xs:attribute name="name" type="xs:string" use="required"/>
  265. <xs:attribute name="value" type="xs:string" use="required"/>
  266. </xs:complexType>
  267. <xs:simpleType name="onOffType">
  268. <xs:annotation>
  269. <xs:documentation>
  270. <![CDATA[
  271. Enumeration of allowed values for the standard JacORB attributes.
  272. ]]>
  273. </xs:documentation>
  274. </xs:annotation>
  275. <xs:restriction base="xs:token">
  276. <xs:enumeration value="on"/>
  277. <xs:enumeration value="off"/>
  278. </xs:restriction>
  279. </xs:simpleType>
  280. <xs:simpleType name="transactionEnabledType">
  281. <xs:annotation>
  282. <xs:documentation>
  283. Enumeration of allowed values for the transaction interceptor config.
  284. </xs:documentation>
  285. </xs:annotation>
  286. <xs:restriction base="xs:token">
  287. <xs:enumeration value="on"/>
  288. <xs:enumeration value="off"/>
  289. <xs:enumeration value="spec"/>
  290. </xs:restriction>
  291. </xs:simpleType>
  292. <xs:simpleType name="sslConfigType">
  293. <xs:annotation>
  294. <xs:documentation>
  295. Enumeration of allowed values for the SSL config.
  296. </xs:documentation>
  297. </xs:annotation>
  298. <xs:restriction base="xs:token">
  299. <xs:enumeration value="None"/>
  300. <xs:enumeration value="ServerAuth"/>
  301. <xs:enumeration value="ClientAuth"/>
  302. <xs:enumeration value="MutualAuth"/>
  303. </xs:restriction>
  304. </xs:simpleType>
  305. </xs:schema>